From 771ae08d7f62a1322ef37d4727f2305d79b80aba Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Sun, 8 Mar 2026 21:45:00 +0000 Subject: [PATCH] Replace pesign_name_0 with AlmaLinux secure boot cert name --- config.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/config.yaml b/config.yaml index f51ae15..bacbd74 100644 --- a/config.yaml +++ b/config.yaml @@ -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"