Keep Red Hat entry in SBAT
This commit is contained in:
parent
7faece4aae
commit
814bf9efb9
@ -1,3 +1,4 @@
|
|||||||
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
|
sbat,1,SBAT Version,sbat,1,https://github.com/rhboot/shim/blob/main/SBAT.md
|
||||||
grub,1,Free Software Foundation,grub,2.02,https://www.gnu.org/software/grub/
|
grub,1,Free Software Foundation,grub,2.02,https://www.gnu.org/software/grub/
|
||||||
grub.almalinux8,1,AlmaLinux 8,grub2,@@VERSION@@,mail:security@almalinux.org
|
grub.rhel8,1,Red Hat Enterprise Linux 8,grub2,@@RHEL_VERSION@@,mail:secalert@redhat.com
|
||||||
|
grub.almalinux8,1,AlmaLinux 8,grub2,@@VERSION@@,mail:security@almalinux.org
|
||||||
|
@ -48,6 +48,9 @@ Source19: sbat.csv.in
|
|||||||
%define sb_key clsecureboot001
|
%define sb_key clsecureboot001
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# AlmaLinux: keep upstream EVR for RHEL SBAT entry
|
||||||
|
%define rhel_evr $(echo %{evr} | sed 's/\.alma.*//')
|
||||||
|
|
||||||
# generate with do-rebase
|
# generate with do-rebase
|
||||||
%include %{SOURCE2}
|
%include %{SOURCE2}
|
||||||
|
|
||||||
@ -165,7 +168,7 @@ This subpackage provides tools for support of all platforms.
|
|||||||
mkdir grub-%{grubefiarch}-%{tarversion}
|
mkdir grub-%{grubefiarch}-%{tarversion}
|
||||||
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubefiarch}-%{tarversion}/.gitignore
|
grep -A100000 '# stuff "make" creates' .gitignore > grub-%{grubefiarch}-%{tarversion}/.gitignore
|
||||||
cp %{SOURCE4} grub-%{grubefiarch}-%{tarversion}/unifont.pcf.gz
|
cp %{SOURCE4} grub-%{grubefiarch}-%{tarversion}/unifont.pcf.gz
|
||||||
sed -e "s,@@VERSION@@,%{evr},g" %{SOURCE19} \
|
sed -e "s,@@VERSION@@,%{evr},g" -e "s,@@RHEL_VERSION@@,%{rhel_evr},g" %{SOURCE19} \
|
||||||
> grub-%{grubefiarch}-%{tarversion}/sbat.csv
|
> grub-%{grubefiarch}-%{tarversion}/sbat.csv
|
||||||
git add grub-%{grubefiarch}-%{tarversion}
|
git add grub-%{grubefiarch}-%{tarversion}
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user