Merge AlmaLinux new SB key changes
This commit is contained in:
parent
57852366e1
commit
4117729e5d
BIN
SOURCES/almalinuxsecurebootca0.cer
Normal file
BIN
SOURCES/almalinuxsecurebootca0.cer
Normal file
Binary file not shown.
Binary file not shown.
@ -287,6 +287,11 @@ Requires: %{name}-tools-extra = %{evr} \
|
||||
Requires: %{name}-tools = %{evr} \
|
||||
Requires: %{efi_esp_dir}/shim%%(echo %{1} | cut -d- -f2).efi \
|
||||
Provides: %{name}-efi = %{evr} \
|
||||
Provides: almalinux(grub2-sig-key) = 202303 \
|
||||
%{expand:%%ifarch x86_64 \
|
||||
Conflicts: shim-x64 <= 15.6-1.el8.alma \
|
||||
Conflicts: shim-ia32 <= 15.6-1.el8.alma \
|
||||
%%endif} \
|
||||
%{?legacy_provides:Provides: %{name} = %{evr}} \
|
||||
%{-o:Obsoletes: %{name}-efi < %{evr}} \
|
||||
\
|
||||
@ -402,8 +407,10 @@ done \
|
||||
-p /EFI/BOOT -d grub-core \\\
|
||||
--sbat %{4}./sbat.csv \\\
|
||||
${GRUB_MODULES} \
|
||||
%{expand:%%{pesign -s -i %%{2}.orig -o %%{2} -a %%{5} -c %%{6} -n %%{7}}} \
|
||||
%{expand:%%{pesign -s -i %%{3}.orig -o %%{3} -a %%{5} -c %%{6} -n %%{7}}} \
|
||||
%{expand:%%{pesign -s -i %%{2}.orig -o %%{2}.one -a %%{5} -c %%{6} -n %%{7}}} \
|
||||
%{expand:%%{pesign -s -i %%{3}.orig -o %%{3}.one -a %%{5} -c %%{6} -n %%{7}}} \
|
||||
%{expand:%%{pesign -s -i %%{2}.one -o %%{2} -a %%{8} -c %%{9} -n %%{10}}} \
|
||||
%{expand:%%{pesign -s -i %%{3}.one -o %%{3} -a %%{8} -c %%{9} -n %%{10}}} \
|
||||
%{nil}
|
||||
%else
|
||||
%define efi_mkimage() \
|
||||
|
Binary file not shown.
@ -28,7 +28,7 @@ Source6: gitignore
|
||||
Source8: strtoull_test.c
|
||||
Source9: 20-grub.install
|
||||
Source12: 99-grub-mkconfig.install
|
||||
Source13: clsecureboot001.cer
|
||||
Source13: almalinuxsecurebootca0.cer
|
||||
Source19: sbat.csv.in
|
||||
|
||||
%include %{SOURCE1}
|
||||
@ -36,16 +36,16 @@ Source19: sbat.csv.in
|
||||
%if 0%{with_efi_arch}
|
||||
%define old_sb_ca %{SOURCE13}
|
||||
%define old_sb_cer %{SOURCE13}
|
||||
%define old_sb_key clsecureboot001
|
||||
%define old_sb_key almalinuxsecurebootca0
|
||||
%define sb_ca %{SOURCE13}
|
||||
%define sb_cer %{SOURCE13}
|
||||
%define sb_key clsecureboot001
|
||||
%define sb_key almalinuxsecurebootca0
|
||||
%endif
|
||||
|
||||
%ifarch ppc64le
|
||||
%define old_sb_cer %{SOURCE13}
|
||||
%define sb_cer %{SOURCE13}
|
||||
%define sb_key clsecureboot001
|
||||
%define sb_key almalinuxsecurebootca0
|
||||
%endif
|
||||
|
||||
# AlmaLinux: keep upstream EVR for RHEL SBAT entry
|
||||
|
Loading…
Reference in New Issue
Block a user