diff options
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/install/any.pm | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 8a05e7ac3..0bd5f99bd 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- Fix grub2-efi package name on aarch64 (mga#32686) + Version 18.66 - 19 August 2023 - Revert change of default DHCP client to dhcpcd (mga#30938) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 47809b240..4ea2ce45d 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -771,13 +771,12 @@ sub rpmsrate_always_flags { } sub default_bootloader() { - my $p; + require bootloader; + my (undef, $p) = bootloader::get_grub2_pkg(); if (is_uefi()) { log::l("defaulting to grub2-efi"); - $p = uefi_type() eq 'ia32' ? 'grub2-efi(x86-32)' : 'grub2-efi(x86-64)'; } else { log::l("defaulting to grub2"); - $p = 'grub2'; } [ $p ]; } |