fix(autopatch): Removed two obsolete replace actions targeting the static %define pesign_name_0 and UKI_secureboot_name blocks tha #11

Merged
alukoshko merged 1 commits from agent-fix/a10s-20260801-021449 into a10s 2026-08-03 08:28:31 +00:00

View File

@ -384,40 +384,6 @@ actions:
Source480: %{name}-x86_64_v2-rt-rhel.config
Source481: %{name}-x86_64_v2-rt-debug-rhel.config
count: 1
- target: "spec"
find: |
%if 0%{?centos}
%define pesign_name_0 centossecureboot801
%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
- target: "spec"
find: |
%if 0%{?centos}
UKI_secureboot_name=centossecureboot804
UKI_secureboot_cert=%{_datadir}/pki/sb-certs/secureboot-uki-virt-%{_arch}.cer
%else
# RHEL only builds UKI for x86
UKI_secureboot_name=redhatsecureboot504
UKI_secureboot_cert=%{SOURCE153}
%endif
replace: |
UKI_secureboot_name=%{pesign_name_0}
UKI_secureboot_cert=%{_datadir}/pki/sb-certs/secureboot-uki-virt-%{_arch}.cer
count: 1
- run_script:
- script: "create_symlinks.sh"