diff options
Diffstat (limited to 'scripts/lib')
| -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 6ef8d7f3c9..8e32afcd89 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
| @@ -286,6 +286,9 @@ class Partition(): | |||
| 286 | (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir) | 286 | (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir) |
| 287 | exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) | 287 | exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) |
| 288 | 288 | ||
| 289 | mkfs_cmd = "fsck.%s -fy %s" % (self.fstype, rootfs) | ||
| 290 | exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) | ||
| 291 | |||
| 289 | def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir, | 292 | def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir, |
| 290 | native_sysroot, pseudo): | 293 | native_sysroot, pseudo): |
| 291 | """ | 294 | """ |
