fix(autopatch): Updated find string in the sb_key ReplaceAction to match the upstream spec's renamed CentOS secureboot key (`centossec
#5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "agent-fix/a9-beta-20260824-130921"
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: Updated
findstring in the sb_key ReplaceAction to match the upstream spec's renamed CentOS secureboot key (centossecureboot202→centossecureboot802).Root cause
The autopatch
ReplaceActiontargeting thesb_keyblock in the spec failed because the upstream spec was updated:centossecureboot202was renamed tocentossecureboot802in the%if 0%{?centos}block.findstring still referenced the old valuecentossecureboot202, so the multi-line match found no match and raisedActionNotAppliedError.Fix applied:
findstring inconfig.yaml(action targetingspec, replacing thesb_keyblock) fromcentossecureboot202tocentossecureboot802.%define sb_key\t\talmalinuxsecureboot0) and all other actions remain unchanged.autopatch_validate_config(config is valid) and confirmed all actions applied successfully viaautopatch.Original error
Type:
ActionNotAppliedErrorPackage:
grub2| Webhook branch:c9-beta