diff options
Diffstat (limited to 'scripts')
-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 dd6edd2f10..6defc9903f 100644 --- a/scripts/lib/wic/kickstart/custom_commands/partition.py +++ b/scripts/lib/wic/kickstart/custom_commands/partition.py | |||
@@ -27,10 +27,10 @@ | |||
27 | import os | 27 | import os |
28 | import tempfile | 28 | import tempfile |
29 | import uuid | 29 | import uuid |
30 | from optparse import OptionValueError | ||
30 | 31 | ||
31 | from pykickstart.commands.partition import FC4_PartData, FC4_Partition | 32 | from pykickstart.commands.partition import FC4_PartData, FC4_Partition |
32 | from wic.utils.oe.misc import * | 33 | from wic.utils.oe.misc import * |
33 | from wic.kickstart.custom_commands import * | ||
34 | from wic.plugin import pluginmgr | 34 | from wic.plugin import pluginmgr |
35 | 35 | ||
36 | partition_methods = { | 36 | partition_methods = { |
@@ -426,10 +426,10 @@ class Wic_PartData(FC4_PartData): | |||
426 | if self.label: | 426 | if self.label: |
427 | label_str = "-n %s" % self.label | 427 | label_str = "-n %s" % self.label |
428 | 428 | ||
429 | dosfs_cmd = "mkdosfs %s -S 512 -C %s %d" % (label_str, fs, blocks) | 429 | dosfs_cmd = "mkdosfs %s -S 512 -C %s %d" % (label_str, rootfs, blocks) |
430 | exec_native_cmd(dosfs_cmd, native_sysroot) | 430 | exec_native_cmd(dosfs_cmd, native_sysroot) |
431 | 431 | ||
432 | chmod_cmd = "chmod 644 %s" % fs | 432 | chmod_cmd = "chmod 644 %s" % rootfs |
433 | exec_cmd(chmod_cmd) | 433 | exec_cmd(chmod_cmd) |
434 | 434 | ||
435 | def prepare_empty_partition_squashfs(self, cr_workdir, oe_builddir, | 435 | def prepare_empty_partition_squashfs(self, cr_workdir, oe_builddir, |