]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: partition: Update fsck parameters
authorDaniel Schultz <d.schultz@phytec.de>
Thu, 30 Mar 2017 07:07:13 +0000 (09:07 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Mar 2017 11:23:45 +0000 (12:23 +0100)
These parameters are copied from the ext image class.

-D will let fsck perform further directory optimizations
-v might be helpful for debugging purpose

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>
scripts/lib/wic/partition.py

index 5edb340c3a52da91ffe5d0ee0a8d595e3e6ea4d6..939e66731b70d2d8fb7bd5e62869e13f2c74fe77 100644 (file)
@@ -267,7 +267,7 @@ class Partition():
             (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir)
         exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo)
 
-        mkfs_cmd = "fsck.%s -fy %s" % (self.fstype, rootfs)
+        mkfs_cmd = "fsck.%s -pvfD %s" % (self.fstype, rootfs)
         exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo)
 
     def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir,