FS#72415 - [grub] 2.06 please add a sbat file to the package
Attached to Project:
Arch Linux
Opened by Tobias Powalowski (tpowa) - Thursday, 14 October 2021, 05:11 GMT
Last edited by Christian Hesse (eworm) - Saturday, 25 December 2021, 22:54 GMT
Opened by Tobias Powalowski (tpowa) - Thursday, 14 October 2021, 05:11 GMT
Last edited by Christian Hesse (eworm) - Saturday, 25 December 2021, 22:54 GMT
|
Details
Description:
Hi, in order to be able to boot secure boot through shim this file is needed during grubx64.efi generation invoking --sbat option: https://github.com/rhboot/shim/blob/main/SBAT.md Example from archboot code: # create Arch Linux sbat file echo "sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md" > ${X86_64}/sbat.csv echo "grub,1,Free Software Foundation,grub,2.06,https//www.gnu.org/software/grub/" >> ${X86_64}/sbat.csv echo "grub.arch,1,Arch Linux,grub2,2.06,https://www.archlinux.org" >> ${X86_64}/sbat.csv |
This task depends upon
Closed by Christian Hesse (eworm)
Saturday, 25 December 2021, 22:54 GMT
Reason for closing: Implemented
Additional comments about closing: grub 2:2.06-3
Saturday, 25 December 2021, 22:54 GMT
Reason for closing: Implemented
Additional comments about closing: grub 2:2.06-3
"arch,1,Arch Linux,$pkgname,$pkgver,https://archlinux.org/packages/core/x86_64/grub/"
Should be correct I believe and follows what systemd and fwupd currently does.
Essentially the file needs to be used in `grub-mkimage --sbat /usr/share/grub/sbat.csv`. Other distrios include the EFI generated image as part of their package. So we sadly just have to document this properly somewhere.