Mageia Bugzilla – Attachment 10042 Details for
Bug 22346
Minor fixes and enhancements for stage2 installer and drakboot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Patch to allow drakboot to detect a 32-bit UEFI bootloader
0004-drakboot-detect-32-bit-UEFI-GRUB2-bootloader-when-pr.patch (text/plain), 859 bytes, created by
Martin Whitaker
on 2018-03-12 21:36:47 CET
(
hide
)
Description:
Patch to allow drakboot to detect a 32-bit UEFI bootloader
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2018-03-12 21:36:47 CET
Size:
859 bytes
patch
obsolete
>From dae1ba234d72d95ee0bfc775df776ce6775ca90f Mon Sep 17 00:00:00 2001 >From: Martin Whitaker <mageia@martin-whitaker.me.uk> >Date: Mon, 12 Mar 2018 20:24:44 +0000 >Subject: [PATCH 4/4] drakboot: detect 32-bit UEFI GRUB2 bootloader when > probing. > >This is the only missing piece for supporting 32-bit UEFI boot. > >diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm >index c10187002..5c6bd4a01 100644 >--- a/perl-install/bootloader.pm >+++ b/perl-install/bootloader.pm >@@ -263,7 +263,7 @@ sub read { > } > # still no boot loader found? let's check for ESP if using UEFI: > if (is_uefi()) { >- if (-f "/boot/EFI/EFI/mageia/grubx64.efi") { >+ if (-f "/boot/EFI/EFI/mageia/grubx64.efi" || -f "/boot/EFI/EFI/mageia/grubia32.efi") { > my $bootloader = bootloader::read_grub2(); > return $bootloader if read_($bootloader); > } >-- >2.13.6 >
From dae1ba234d72d95ee0bfc775df776ce6775ca90f Mon Sep 17 00:00:00 2001 From: Martin Whitaker <mageia@martin-whitaker.me.uk> Date: Mon, 12 Mar 2018 20:24:44 +0000 Subject: [PATCH 4/4] drakboot: detect 32-bit UEFI GRUB2 bootloader when probing. This is the only missing piece for supporting 32-bit UEFI boot. diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index c10187002..5c6bd4a01 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -263,7 +263,7 @@ sub read { } # still no boot loader found? let's check for ESP if using UEFI: if (is_uefi()) { - if (-f "/boot/EFI/EFI/mageia/grubx64.efi") { + if (-f "/boot/EFI/EFI/mageia/grubx64.efi" || -f "/boot/EFI/EFI/mageia/grubia32.efi") { my $bootloader = bootloader::read_grub2(); return $bootloader if read_($bootloader); } -- 2.13.6
View Attachment As Raw
Actions:
View
Attachments on
bug 22346
:
9883
|
9884
|
9885
| 10042