diff options
Diffstat (limited to 'scripts/lib/wic/kickstart/custom_commands/partition.py')
-rw-r--r-- | scripts/lib/wic/kickstart/custom_commands/partition.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py b/scripts/lib/wic/kickstart/custom_commands/partition.py index eee25a493d..babc006945 100644 --- a/scripts/lib/wic/kickstart/custom_commands/partition.py +++ b/scripts/lib/wic/kickstart/custom_commands/partition.py | |||
@@ -297,7 +297,7 @@ class Wic_PartData(FC4_PartData): | |||
297 | 297 | ||
298 | mkfs_cmd = "mkfs.%s -F %s %s %s -d %s" % \ | 298 | mkfs_cmd = "mkfs.%s -F %s %s %s -d %s" % \ |
299 | (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir) | 299 | (self.fstype, extra_imagecmd, rootfs, label_str, rootfs_dir) |
300 | exec_native_cmd(pseudo + mkfs_cmd, native_sysroot) | 300 | exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) |
301 | 301 | ||
302 | def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir, | 302 | def prepare_rootfs_btrfs(self, rootfs, oe_builddir, rootfs_dir, |
303 | native_sysroot, pseudo): | 303 | native_sysroot, pseudo): |
@@ -330,7 +330,7 @@ class Wic_PartData(FC4_PartData): | |||
330 | 330 | ||
331 | mkfs_cmd = "mkfs.%s -b %d -r %s %s %s" % \ | 331 | mkfs_cmd = "mkfs.%s -b %d -r %s %s %s" % \ |
332 | (self.fstype, rootfs_size * 1024, rootfs_dir, label_str, rootfs) | 332 | (self.fstype, rootfs_size * 1024, rootfs_dir, label_str, rootfs) |
333 | exec_native_cmd(pseudo + mkfs_cmd, native_sysroot) | 333 | exec_native_cmd(mkfs_cmd, native_sysroot, pseudo=pseudo) |
334 | 334 | ||
335 | def prepare_rootfs_vfat(self, rootfs, oe_builddir, rootfs_dir, | 335 | def prepare_rootfs_vfat(self, rootfs, oe_builddir, rootfs_dir, |
336 | native_sysroot, pseudo): | 336 | native_sysroot, pseudo): |
@@ -378,7 +378,7 @@ class Wic_PartData(FC4_PartData): | |||
378 | """ | 378 | """ |
379 | squashfs_cmd = "mksquashfs %s %s -noappend" % \ | 379 | squashfs_cmd = "mksquashfs %s %s -noappend" % \ |
380 | (rootfs_dir, rootfs) | 380 | (rootfs_dir, rootfs) |
381 | exec_native_cmd(pseudo + squashfs_cmd, native_sysroot) | 381 | exec_native_cmd(squashfs_cmd, native_sysroot, pseudo=pseudo) |
382 | 382 | ||
383 | def prepare_empty_partition_ext(self, rootfs, oe_builddir, | 383 | def prepare_empty_partition_ext(self, rootfs, oe_builddir, |
384 | native_sysroot): | 384 | native_sysroot): |