From a5428197dbdaa5c8b2369f111d548e4d3a866cc1 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Wed, 19 Dec 2018 15:39:58 +0000 Subject: Give the ESP partition a volume label, to work round mga#23939. --- lib/MGA/DrakISO/BuildBoot.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1