Bug 27337 - Enable arm-efi in grub2
Summary: Enable arm-efi in grub2
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-27 22:20 CEST by Jybz
Modified: 2020-09-28 09:46 CEST (History)
1 user (show)

See Also:
Source RPM: grub2-2.04.0-24.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Jybz 2020-09-27 22:20:45 CEST
Hello !

Can you please enable arm-efi in grub2 ?

A choice was made (who ? When ? Why ?) to enable arm-uboot, arm64-efi, but not arm-efi.

It is easy to enable it with few changes :
> http://svnweb.mageia.org/packages/updates/7/grub2/current/SPECS/grub2.spec?view=markup
changing L13 :
> %global efi_arch arm-efi

commenting L133, L150, L220, L227, L267, L283, L287, L291, L372, L377, L437, L444, L459, L464 :
> #%ifnarch %arm
> #%endif

After that, it would be able to use grub2 as bootloader for arm devices (like Rpi2, bananapro, odroid...)

I reuse the spec of Mageia, comment the lines mentioned above and modify L13, it compiles on armv7hl and the result is exactly what expected.

Jybz
Comment 1 Aurelien Oudelet 2020-09-27 23:54:53 CEST
Hi, thanks taking time to report this.
Setting this against Cauldron first,
Assigning to all packagers, as there is no registered maintainer for grub2.
CC'd recent committers.
(Packagers: Please change status to "Assigned" when you are working on this.)

Version: 7 => Cauldron
Assignee: bugsquad => pkg-bugs
Source RPM: grub2 => grub2-2.04.0-24.mga8.src.rpm
CC: (none) => thierry.vignaud

Comment 2 Thierry Vignaud 2020-09-28 09:46:54 CEST
Err, we already have grub2-efi for armv7hl in Cauldron…

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.