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 a3d5ef35c7..abf3498134 100644 --- a/scripts/lib/wic/kickstart/custom_commands/partition.py +++ b/scripts/lib/wic/kickstart/custom_commands/partition.py | |||
@@ -385,7 +385,7 @@ class Wic_PartData(Mic_PartData): | |||
385 | """ | 385 | """ |
386 | Prepare an empty ext2/3/4 partition. | 386 | Prepare an empty ext2/3/4 partition. |
387 | """ | 387 | """ |
388 | fs = "%s/fs.%s" % (cr_workdir, self.fstype) | 388 | fs = "%s/fs_%s.%s" % (cr_workdir, self.label, self.fstype) |
389 | 389 | ||
390 | dd_cmd = "dd if=/dev/zero of=%s bs=1M seek=%d count=0" % \ | 390 | dd_cmd = "dd if=/dev/zero of=%s bs=1M seek=%d count=0" % \ |
391 | (fs, self.size) | 391 | (fs, self.size) |
@@ -405,7 +405,7 @@ class Wic_PartData(Mic_PartData): | |||
405 | """ | 405 | """ |
406 | Prepare an empty btrfs partition. | 406 | Prepare an empty btrfs partition. |
407 | """ | 407 | """ |
408 | fs = "%s/fs.%s" % (cr_workdir, self.fstype) | 408 | fs = "%s/fs_%s.%s" % (cr_workdir, self.label, self.fstype) |
409 | 409 | ||
410 | dd_cmd = "dd if=/dev/zero of=%s bs=1M seek=%d count=0" % \ | 410 | dd_cmd = "dd if=/dev/zero of=%s bs=1M seek=%d count=0" % \ |
411 | (fs, self.size) | 411 | (fs, self.size) |
@@ -426,7 +426,7 @@ class Wic_PartData(Mic_PartData): | |||
426 | """ | 426 | """ |
427 | Prepare an empty vfat partition. | 427 | Prepare an empty vfat partition. |
428 | """ | 428 | """ |
429 | fs = "%s/fs.%s" % (cr_workdir, self.fstype) | 429 | fs = "%s/fs_%s.%s" % (cr_workdir, self.label, self.fstype) |
430 | 430 | ||
431 | blocks = self.size * 1024 | 431 | blocks = self.size * 1024 |
432 | 432 | ||