wic: partition: Update fsck parameters
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
Signed-off-by Daniel Schultz <[email protected]>
--- scripts/lib/wic/partition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lib/wic/partition.py +1 -1
@@ -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