Replace pesign_name_0 with AlmaLinux secure boot cert name

This commit is contained in:
Andrew Lukoshko 2026-03-08 21:45:00 +00:00
parent 170b7768c0
commit 771ae08d7f

View File

@ -362,6 +362,24 @@ actions:
find: "UKI_secureboot_cert=%{SOURCE153}"
replace: "UKI_secureboot_cert=%{_datadir}/pki/sb-certs/secureboot-uki-virt-%{_arch}.cer"
count: 1
- target: "spec"
find: |
%if 0%{?centos}
%define pesign_name_0 centossecureboot201
%else
%ifarch x86_64 aarch64
%define pesign_name_0 redhatsecureboot801
%endif
%ifarch s390x
%define pesign_name_0 redhatsecureboot302
%endif
%ifarch ppc64le
%define pesign_name_0 redhatsecureboot701
%endif
%endif
replace: |
%define pesign_name_0 almalinuxsecureboot0
count: 1
- run_script:
- script: "create_symlinks.sh"