summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2017-03-30 09:07:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-01 08:14:58 +0100
commit28997864e22fa994ed115e81fd7d151fe12a3ca8 (patch)
treef54148cc8294a981e092b948ce872cca6db82d1b /scripts/lib
parent67ec097bc3d1734dc5a1c7162a7c99b57d45afe8 (diff)
downloadpoky-28997864e22fa994ed115e81fd7d151fe12a3ca8.tar.gz
wic: partition: Update fsck parameters
These parameters are copied from the ext image class. -D will let fsck perform further directory optimizations -v might be helpful for debugging purpose (From OE-Core rev: be93e378506a85772503005294503cfc348a552c) Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/wic/partition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index 5edb340c3a..939e66731b 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -267,7 +267,7 @@ class Partition():
267 (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir) 267 (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir)
268 exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) 268 exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo)
269 269
270 mkfs_cmd = "fsck.%s -fy %s" % (self.fstype, rootfs) 270 mkfs_cmd = "fsck.%s -pvfD %s" % (self.fstype, rootfs)
271 exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) 271 exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo)
272 272
273 def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir, 273 def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir,