Package: grub2
Version: 2.04-20
Severity: wishlist
Tags: patch

smbios is a new module available in grub2 upstream master[1].

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 following are two use cases from the upstream commit:

  1) We have a board that boots Linux and this board itself can be plugged
     into one of different chassis types. We need to pass different
     parameters to the kernel based on the "CHASSIS_TYPE" information
     that is passed by the bios in the DMI/SMBIOS tables.

  2) We may have a USB stick that can go into multiple boards, and the
     exact kernel to be loaded depends on the machine information
     (PRODUCT_NAME etc) passed via the DMI.


This is a request to include this module.

The module has already been added by Ubuntu[2].


REFERENCES

[1]
https://salsa.debian.org/grub-team/grub/-/commit/688023cd0ac4c985fd0e2ec477fcf1ec33a0e49c

[2]
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1856424

Internal

Reply via email to