fix(autopatch): Updated 3 stale find strings in config.yaml: (1) shimx64.efi SHA512 hash in 'sources' replace action (c26bae26... vs old #2

Closed
eabdullin wants to merge 1 commit from agent-fix/a10s-20260530-034615 into a10s
Owner

Automated fix by autopatch agent.

Summary: Updated 3 stale find strings in config.yaml: (1) shimx64.efi SHA512 hash in 'sources' replace action (c26bae26... vs old b4dc7ff9...), (2) Source1/Source2 cert filenames in spec replace action (centossecureboot801/ca8 vs old 201/ca2), (3) cert name in shim.rpmmacros replace action (centossecureboot801 vs old centossecureboot201).

Root cause

The upstream c10s shim package was updated: (1) shimx64.efi binary changed, updating its SHA512 in the sources file; (2) the secure boot certificate source files were renamed from centossecureboot201.cer/centossecurebootca2.cer to centossecureboot801.cer/centossecurebootca8.cer in both shim.spec and shim.rpmmacros. The reference branch (a10) had an older set of hashes and was not helpful for this fix.

Original error

Type: ActionNotAppliedError

ent call last):
  File "/root/autopatch-tool/src/webserv.py", line 77, in debrand_packages
    result = apply_modifications(
  File "/root/autopatch-tool/src/debranding.py", line 111, in apply_modifications
    config.apply_actions(rpms_working_dir + f"/{package}")
  File "/root/autopatch-tool/src/actions_handler.py", line 925, in apply_actions
    action.execute(Path(package_path))
  File "/root/autopatch-tool/src/actions_handler.py", line 472, in execute
    process_lines(
  File "/root/autopatch-tool/src/actions_handler.py", line 233, in process_lines
    raise ActionNotAppliedError(
actions_handler.ActionNotAppliedError: Action 'ReplaceAction' was not applied successfully: No changes made for '['SHA512 (BOOTAA64.CSV) = 1c1bac8c2627b704e8b091d2e0c81d55a8bd7420450fe429e20efe8830fa377fdf48c51c2e658e3d0ecee491845bf5cc696ba848669dc26d23687ed5fe5efa76', 'SHA512 (BOOTX64.CSV) = 16936301ec1b098022aac2428d31a4849a585e047493a64916427a235287b8d81bc285b0371a270e77ed476b71c741b8d7e7158986b167c3d6bb982705764e16', 'SHA512 (fbaa64.efi) = 6a8b2afe32fb31dbde84a7ec165ae495ad0e20d55af4fe8c2ab819a12ad79e947ec71b208871f26632a6a5e32cdb0033654baf0c5f139f3b67caf1195a81896f', 'SHA512 (fbx64.efi) = 1bbf117734d042d92e331a9e619b0f48a7da1016c5fbc3ec5461247e9bb599df200b98ad9ffe82300550f884e8e3b2457763c7f3fd9cf142fbef76aa3b10d0a5', 'SHA512 (mmaa64.efi) = 406fbd719631c07366b609d7eb984bbb749c8be2a63f816e2924aed18b4f1f75e0f84e5937ff47f14f28d8423f59236ebcd1b1a2317f2e1afb1b613a5762e579', 'SHA512 (mmx64.efi) = caabd963f6a8a05bbb48f0298c683d1f97d3fe4bc68eee4521b2e8bc2c5cdb6ef405b7188031b8ff250b7a1ddafbdc5da241ac30545bfabca42ee2bc45507499', 'SHA512 (shimaa64.efi) = 66ff2d1a7ee2588ae8f1b41ed472f81bdfd4791e8c646d51f9607592cca6d76e0ad05c98390e97191d9989b390f85cb50b107b2f545cde3cb4f07c1eeee7fc45', 'SHA512 (shimx64.efi) = b4dc7ff94feec631d63e496b72d9ea333179204407ba91399d7c5e2c762172a3ab91001604727641ac5b0eaf79fa350d981b05c101c523897987e12b494b03cd']' in /root/autopatch-tool/src/rpms-namespace/shim/sources

Package: shim | Webhook branch: c10s

Automated fix by autopatch agent. **Summary:** Updated 3 stale find strings in config.yaml: (1) shimx64.efi SHA512 hash in 'sources' replace action (c26bae26... vs old b4dc7ff9...), (2) Source1/Source2 cert filenames in spec replace action (centossecureboot801/ca8 vs old 201/ca2), (3) cert name in shim.rpmmacros replace action (centossecureboot801 vs old centossecureboot201). ### Root cause The upstream c10s shim package was updated: (1) shimx64.efi binary changed, updating its SHA512 in the sources file; (2) the secure boot certificate source files were renamed from centossecureboot201.cer/centossecurebootca2.cer to centossecureboot801.cer/centossecurebootca8.cer in both shim.spec and shim.rpmmacros. The reference branch (a10) had an older set of hashes and was not helpful for this fix. ### Original error **Type:** `ActionNotAppliedError` ``` ent call last): File "/root/autopatch-tool/src/webserv.py", line 77, in debrand_packages result = apply_modifications( File "/root/autopatch-tool/src/debranding.py", line 111, in apply_modifications config.apply_actions(rpms_working_dir + f"/{package}") File "/root/autopatch-tool/src/actions_handler.py", line 925, in apply_actions action.execute(Path(package_path)) File "/root/autopatch-tool/src/actions_handler.py", line 472, in execute process_lines( File "/root/autopatch-tool/src/actions_handler.py", line 233, in process_lines raise ActionNotAppliedError( actions_handler.ActionNotAppliedError: Action 'ReplaceAction' was not applied successfully: No changes made for '['SHA512 (BOOTAA64.CSV) = 1c1bac8c2627b704e8b091d2e0c81d55a8bd7420450fe429e20efe8830fa377fdf48c51c2e658e3d0ecee491845bf5cc696ba848669dc26d23687ed5fe5efa76', 'SHA512 (BOOTX64.CSV) = 16936301ec1b098022aac2428d31a4849a585e047493a64916427a235287b8d81bc285b0371a270e77ed476b71c741b8d7e7158986b167c3d6bb982705764e16', 'SHA512 (fbaa64.efi) = 6a8b2afe32fb31dbde84a7ec165ae495ad0e20d55af4fe8c2ab819a12ad79e947ec71b208871f26632a6a5e32cdb0033654baf0c5f139f3b67caf1195a81896f', 'SHA512 (fbx64.efi) = 1bbf117734d042d92e331a9e619b0f48a7da1016c5fbc3ec5461247e9bb599df200b98ad9ffe82300550f884e8e3b2457763c7f3fd9cf142fbef76aa3b10d0a5', 'SHA512 (mmaa64.efi) = 406fbd719631c07366b609d7eb984bbb749c8be2a63f816e2924aed18b4f1f75e0f84e5937ff47f14f28d8423f59236ebcd1b1a2317f2e1afb1b613a5762e579', 'SHA512 (mmx64.efi) = caabd963f6a8a05bbb48f0298c683d1f97d3fe4bc68eee4521b2e8bc2c5cdb6ef405b7188031b8ff250b7a1ddafbdc5da241ac30545bfabca42ee2bc45507499', 'SHA512 (shimaa64.efi) = 66ff2d1a7ee2588ae8f1b41ed472f81bdfd4791e8c646d51f9607592cca6d76e0ad05c98390e97191d9989b390f85cb50b107b2f545cde3cb4f07c1eeee7fc45', 'SHA512 (shimx64.efi) = b4dc7ff94feec631d63e496b72d9ea333179204407ba91399d7c5e2c762172a3ab91001604727641ac5b0eaf79fa350d981b05c101c523897987e12b494b03cd']' in /root/autopatch-tool/src/rpms-namespace/shim/sources ``` --- Package: `shim` | Webhook branch: `c10s`
Updated 3 stale find strings in config.yaml: (1) shimx64.efi SHA512 hash in 'sources' replace action (c26bae26... vs old b4dc7ff9...), (2) Source1/Source2 cert filenames in spec replace action (centos
eabdullin closed this pull request 2026-09-15 09:44:44 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
autopatch/shim!2
No description provided.