Mageia Bugzilla – Attachment 14242 Details for
Bug 32686
aarch64 installer fails trying to install grub2-efi(x86_64)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Fix grub2 pkg name on aarch64 (mga#32686)
0002-Fix-grub2-pkg-name-on-aarch64-mga-32686.patch (text/plain), 946 bytes, created by
Thierry Vignaud
on 2024-01-04 17:30:04 CET
(
hide
)
Description:
Fix grub2 pkg name on aarch64 (mga#32686)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2024-01-04 17:30:04 CET
Size:
946 bytes
patch
obsolete
>From e31a98d33b68c099fa83c7410db660df2b4eee20 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Thu, 4 Jan 2024 17:19:50 +0100 >Subject: [PATCH 2/2] Fix grub2 pkg name on aarch64 (mga#32686) > >--- > perl-install/install/any.pm | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm >index 76c19ce60..866f7821c 100644 >--- a/perl-install/install/any.pm >+++ b/perl-install/install/any.pm >@@ -792,13 +792,12 @@ Return the default bootloader to use according to the platform (UEFI, bios, ...) > =cut > > 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 ]; > } >-- >2.43.0 >
From e31a98d33b68c099fa83c7410db660df2b4eee20 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Thu, 4 Jan 2024 17:19:50 +0100 Subject: [PATCH 2/2] Fix grub2 pkg name on aarch64 (mga#32686) --- perl-install/install/any.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 76c19ce60..866f7821c 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -792,13 +792,12 @@ Return the default bootloader to use according to the platform (UEFI, bios, ...) =cut 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 ]; } -- 2.43.0
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32686
:
14241
| 14242 |
14243