fix(autopatch): Removed two obsolete replace actions targeting the static %define pesign_name_0 and UKI_secureboot_name blocks tha
#11
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "agent-fix/a10s-20260801-021449"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Automated fix by autopatch agent.
Summary: Removed two obsolete
replaceactions targeting the static%define pesign_name_0andUKI_secureboot_nameblocks that upstream eliminated in favour of dynamic cert-name discovery.Root cause
The upstream
kernel.specfor c10s was refactored (RHEL-169468) to derive the pesign certificate name at build time rather than statically:%define pesign_name_0 centossecureboot801block guarded by%if 0%{?centos}/%else/ arch conditionals.pesign_name_0=$(get_pesign_name %{secureboot_key_0}), resolving the cert name from the file in/usr/share/pki/sb-certs/at build time.UKI_secureboot_name=centossecureboot804is gone; the spec now usespesign_name_uki_0=$(get_pesign_name %{secureboot_key_uki_0}).Both
replaceactions inconfig.yamltargeted blocks that no longer exist, causingActionNotAppliedError. They were dropped upstream (not moved behind an indirection), so both were removed.The intent — that AlmaLinux uses its own secureboot certificate — is preserved: AlmaLinux's
system-sb-certspackage supplies the cert files, andget_pesign_name()resolves the correct AlmaLinux cert name automatically at build time. No override in the spec is needed.Original error
Type:
ActionNotAppliedErrorPackage:
kernel| Webhook branch:c10s