summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2020-05-08 14:44:37 +0300
committerThomas Backlund <tmb@mageia.org>2020-05-08 14:44:37 +0300
commita0f6071ac708754fadd7bc984798bddf656095ba (patch)
treee48f3afd7a7c1dca00c47401ff1d79e7cf4a0f72 /perl-install/bootloader.pm
parent798140e792d8888820281cc7fdf1fd55ad2fa925 (diff)
downloaddrakx-a0f6071ac708754fadd7bc984798bddf656095ba.tar
drakx-a0f6071ac708754fadd7bc984798bddf656095ba.tar.gz
drakx-a0f6071ac708754fadd7bc984798bddf656095ba.tar.bz2
drakx-a0f6071ac708754fadd7bc984798bddf656095ba.tar.xz
drakx-a0f6071ac708754fadd7bc984798bddf656095ba.zip
- bootloader:
fix typo x86 -> x64 for matching 64bit grub2-efi(x86-64) (martinw) (bug introduced in commit: e540363478de809a2a9769c5794b3adab60b63eb)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 4eedc6f04..b77e1432b 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -2504,8 +2504,8 @@ sub ensure_pkg_is_installed {
if ($main_method eq 'grub2') {
my ($prefix, $pkg);
if (is_uefi()) {
- my %convert = (ia32 => 'i386', aa64 => 'arm64', x86 => 'x86_64');
- my %pkgs = (ia32 => 'x86-32', aa64 => 'aarch-64', x86 => 'x86-64');
+ my %convert = (ia32 => 'i386', aa64 => 'arm64', x64 => 'x86_64');
+ my %pkgs = (ia32 => 'x86-32', aa64 => 'aarch-64', x64 => 'x86-64');
$prefix = $convert{uefi_type()} . "-efi";
$pkg = "grub2-efi(" . $pkgs{uefi_type()} . ")";
} else {