summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r--scripts/lib/wic/plugins/source/isoimage-isohybrid.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
index 24299c1ece..95a54a09d2 100644
--- a/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
+++ b/scripts/lib/wic/plugins/source/isoimage-isohybrid.py
@@ -347,8 +347,10 @@ class IsoImagePlugin(SourcePlugin):
347 # dosfs image for EFI boot 347 # dosfs image for EFI boot
348 bootimg = "%s/efi.img" % isodir 348 bootimg = "%s/efi.img" % isodir
349 349
350 dosfs_cmd = 'mkfs.vfat -n "EFIimg" -S 512 -C %s %d' \ 350 esp_label = source_params.get('esp_label', 'EFIimg')
351 % (bootimg, blocks) 351
352 dosfs_cmd = 'mkfs.vfat -n \'%s\' -S 512 -C %s %d' \
353 % (esp_label, bootimg, blocks)
352 exec_native_cmd(dosfs_cmd, native_sysroot) 354 exec_native_cmd(dosfs_cmd, native_sysroot)
353 355
354 mmd_cmd = "mmd -i %s ::/EFI" % bootimg 356 mmd_cmd = "mmd -i %s ::/EFI" % bootimg