provide sbat file
This commit is contained in:
parent
0c17b39d51
commit
59f347bdad
6
PKGBUILD
6
PKGBUILD
@ -272,6 +272,12 @@ _package_grub-efi() {
|
||||
rm -f "${pkgdir}/usr/lib/grub/${_EFI_ARCH}-efi"/*.module || true
|
||||
rm -f "${pkgdir}/usr/lib/grub/${_EFI_ARCH}-efi"/*.image || true
|
||||
rm -f "${pkgdir}/usr/lib/grub/${_EFI_ARCH}-efi"/{kernel.exec,gdb_grub,gmodule.pl} || true
|
||||
|
||||
_sbat_file="${pkgdir}/usr/share/grub/sbat.csv"
|
||||
touch "${_sbat_file}"
|
||||
echo "sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md" >> "${_sbat_file}"
|
||||
echo "grub,1,Free Software Foundation,grub,${_pkgver},https//www.gnu.org/software/grub/" >> "${_sbat_file}"
|
||||
echo "grub.arch,1,Arch Linux,grub,${_pkgver},https://archlinux.org/packages/core/x86_64/grub/" >> "${_sbat_file}"
|
||||
}
|
||||
|
||||
_package_grub-emu() {
|
||||
|
Loading…
Reference in New Issue
Block a user