Skip to contentSkip to conversation

wic: partition: Update fsck parameters

PATCH New Daniel Schultz 1 participant 1 message Mar 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 scripts/lib/wic/partition.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/wic/partition.py +1 -1
index 8e32afc..93b9b16 100644
@@ -286,7 +286,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,
Signature · 1 line
1.9.1