Merge pull request 'fix(autopatch): Removed two obsolete replace actions targeting the static %define pesign_name_0 and UKI_secureboot_name blocks tha' (#11) from agent-fix/a10s-20260801-021449 into a10s
Reviewed-on: #11
This commit is contained in:
commit
4ba57efffe
34
config.yaml
34
config.yaml
@ -384,40 +384,6 @@ actions:
|
|||||||
Source480: %{name}-x86_64_v2-rt-rhel.config
|
Source480: %{name}-x86_64_v2-rt-rhel.config
|
||||||
Source481: %{name}-x86_64_v2-rt-debug-rhel.config
|
Source481: %{name}-x86_64_v2-rt-debug-rhel.config
|
||||||
count: 1
|
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:
|
- run_script:
|
||||||
- script: "create_symlinks.sh"
|
- script: "create_symlinks.sh"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user