mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
WIP: grub: install file with sbat contents
This is just the contents of the section, but the section itself is written by grub-mkimage. sbat.csv needs to be passed with --sbat. Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
be85bbb653
commit
49573572c6
3
sdk_container/src/third_party/coreos-overlay/sys-boot/grub/files/sbat.csv.in
vendored
Normal file
3
sdk_container/src/third_party/coreos-overlay/sys-boot/grub/files/sbat.csv.in
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
|
||||
grub,4,Free Software Foundation,grub,@@UPSTREAM_VERSION@@,https://www.gnu.org/software/grub/
|
||||
grub.flatcar,1,Flatcar,grub2,@@VERSION@@,https://github.com/flatcar/flatcar
|
||||
@ -321,6 +321,10 @@ src_install() {
|
||||
|
||||
# https://bugs.gentoo.org/231935
|
||||
dostrip -x /usr/lib/grub
|
||||
|
||||
dodir /usr/share/grub
|
||||
sed -e "s/@@UPSTREAM_VERSION@@/${PV}/" -e "s/@@VERSION@@/${PVR}/" "${FILESDIR}"/sbat.csv.in >"${ED}/usr/share/grub/sbat.csv"
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user