summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/kickstart/custom_commands/partition.py6
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 @@
27import os 27import os
28import tempfile 28import tempfile
29import uuid 29import uuid
30from optparse import OptionValueError
30 31
31from pykickstart.commands.partition import FC4_PartData, FC4_Partition 32from pykickstart.commands.partition import FC4_PartData, FC4_Partition
32from wic.utils.oe.misc import * 33from wic.utils.oe.misc import *
33from wic.kickstart.custom_commands import *
34from wic.plugin import pluginmgr 34from wic.plugin import pluginmgr
35 35
36partition_methods = { 36partition_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,