please add smbios module to the signed grub2 images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
smbios is a new module available in grub2 upstream master, merged shortly after 2.04 release.
It allows reading values from various SMBIOS tables to allow detecting vendor, make, model among with other smbios defined handles. In terms of userspace, it can be compared to dmidecode.
The premise to include this module in the EFI prebuild images is to allow automatic selection of appropriate kernel and kernel option at boot time of certified or specilized hardware.
For example:
- allowing to choose linux-hwe kernel on newer generation
(query handle 0x37, dmi type 4 Processor information)
- allowing to choose linux-oem kernel on OEM certified hardware
(query handle 0x1, DMI type 1, Manufactuere / serial number / sku number)
- allowing to choose correct DTB for arm64 Laptops
The grub module itself is fairly trivial, and basically dumps memory, processes it into various data types, optionally storing them in a variable thus allowing making scripting decisions based on them (i.e. setting the 'default' menuetry)
This is a request to review this module for inclusion in the prebuilt UEFI signed images of grub.
As a patch:
http://
Main Files:
http://
http://
http://
tags: | added: oem-desktop-cd |
tags: | added: id-5df5114fdef31b76021f5a94 |
Changed in grub2 (Ubuntu): | |
status: | New → Triaged |
tags: | removed: rls-ff-incoming |
Changed in grub2 (Ubuntu Focal): | |
status: | Triaged → Fix Committed |
Alternative measures avoiding using this module, would be to attempt a kexec from initrd to the right kernel flavour. Which may increase boot time a little bit, but should otherwise allow similar levels of detection.
Note that signed kexec is available these days.