From c6dd77e2cc4c79b33579a062afe19c3d50bc536a Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 17 Mar 2018 13:12:26 +0000 Subject: Fix support for dual 32/64 bit EFI. --- lib/MGA/DrakISO/BuildBoot.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/MGA/DrakISO') diff --git a/lib/MGA/DrakISO/BuildBoot.pm b/lib/MGA/DrakISO/BuildBoot.pm index 89e4fc2..69d989c 100644 --- a/lib/MGA/DrakISO/BuildBoot.pm +++ b/lib/MGA/DrakISO/BuildBoot.pm @@ -237,7 +237,7 @@ sub prepare_iso_bootloader { if ($efi_type ne '64bit') { # If the user has supplied a grub2 image for 32-bit UEFI boot, copy that, # otherwise build one. - my $boot_efi = $build->get_absolute_path($build->{media}{bootia32_efi}); + my $boot_efi = $build->get_absolute_path($build->{media}{boot32_efi}); if (defined $boot_efi) { -e $boot_efi or die "ERROR: cannot find EFI boot image $boot_efi\n"; cp_f($boot_efi, $efi_boot_dir . '/'); @@ -249,7 +249,7 @@ sub prepare_iso_bootloader { if ($efi_type ne '32bit') { # If the user has supplied a grub2 image for 64-bit UEFI boot, copy that, # otherwise build one. - my $boot_efi = $build->get_absolute_path($build->{media}{boot_efi}); + my $boot_efi = $build->get_absolute_path($build->{media}{boot64_efi}); if (defined $boot_efi) { -e $boot_efi or die "ERROR: cannot find EFI boot image $boot_efi\n"; cp_f($boot_efi, $efi_boot_dir . '/'); -- cgit v1.2.1