summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/MGA/DrakISO/BuildBoot.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MGA/DrakISO/BuildBoot.pm b/lib/MGA/DrakISO/BuildBoot.pm
index 95c1a10..2775203 100644
--- a/lib/MGA/DrakISO/BuildBoot.pm
+++ b/lib/MGA/DrakISO/BuildBoot.pm
@@ -270,9 +270,10 @@ sub prepare_iso_bootloader {
mkdir_p($images_dir);
# Construct an ESP image. This is needed for USB boot.
+ # Give it a label, to try to work around mga#23939.
my $esp_image = $images_dir . '/esp.img';
eval { rm_rf($esp_image) };
- run_('/sbin/mkdosfs', '-F12', '-C', $esp_image, '4096');
+ run_('/sbin/mkdosfs', '-n', 'MGALIVE-ESP', '-F12', '-C', $esp_image, '4096');
run_('mcopy', '-s', '-i', $esp_image, $efi_root_dir, '::');
# Now we've built the ESP image, we can delete the grub2 image. We need