Mageia Bugzilla – Attachment 14243 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]
[DEBUG] simulate UEFI on a !UEFI box (replace 'x64' by 'aa64' for faking aarch64)
uefi.diff (text/plain), 491 bytes, created by
Thierry Vignaud
on 2024-01-04 21:42:30 CET
(
hide
)
Description:
[DEBUG] simulate UEFI on a !UEFI box (replace 'x64' by 'aa64' for faking aarch64)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2024-01-04 21:42:30 CET
Size:
491 bytes
patch
obsolete
>diff --git a/perl-install/common.pm b/perl-install/common.pm >index 508e6b31f..275412cca 100644 >--- a/perl-install/common.pm >+++ b/perl-install/common.pm >@@ -724,7 +724,7 @@ Checks if we are on an uefi system > > =cut > >-sub is_uefi() { -e "/sys/firmware/efi" } >+sub is_uefi() { -e "/sys/firmware/efi" || 1 } > > =item kernel_uefi_type() > >@@ -753,6 +753,7 @@ sub uefi_type() { > cat_('/sys/firmware/efi/fw_platform_size') =~ /32/ ? 'ia32' : 'x64'; > } else { > 'none'; >+ 'x64'; > } > } >
diff --git a/perl-install/common.pm b/perl-install/common.pm index 508e6b31f..275412cca 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -724,7 +724,7 @@ Checks if we are on an uefi system =cut -sub is_uefi() { -e "/sys/firmware/efi" } +sub is_uefi() { -e "/sys/firmware/efi" || 1 } =item kernel_uefi_type() @@ -753,6 +753,7 @@ sub uefi_type() { cat_('/sys/firmware/efi/fw_platform_size') =~ /32/ ? 'ia32' : 'x64'; } else { 'none'; + 'x64'; } }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32686
:
14241
|
14242
| 14243