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"