diff options
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/partition.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index 3b3bd2d78f..ec3aa6622c 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
@@ -239,6 +239,9 @@ class Partition(): | |||
239 | (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir) | 239 | (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir) |
240 | exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) | 240 | exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) |
241 | 241 | ||
242 | mkfs_cmd = "fsck.%s -pvfD %s || [ $? -le 3 ]" % (self.fstype, rootfs) | ||
243 | exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) | ||
244 | |||
242 | def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir, | 245 | def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir, |
243 | native_sysroot, pseudo): | 246 | native_sysroot, pseudo): |
244 | """ | 247 | """ |