fix(autopatch): auto-fix for fwupd on c8

Fixed two stale find strings in config.yaml: updated efi_sbat_distro_url from 'mail:' to 'mailto:' and updated uefi-capsule-ux file extension from .tar.xz to .zip.
This commit is contained in:
root 2026-07-30 18:58:43 +00:00
parent 1a00982448
commit 66abe370be

View File

@ -18,8 +18,8 @@ actions:
-Dfwupd-efi:efi_sbat_distro_summary="AlmaLinux" \
count: 1
- target: "spec"
find: "-Dfwupd-efi:efi_sbat_distro_url=\"mail:secalert@redhat.com\" \\"
replace: "-Dfwupd-efi:efi_sbat_distro_url=\"mail:security@almalinux.org\" \\"
find: "-Dfwupd-efi:efi_sbat_distro_url=\"mailto:secalert@redhat.com\" \\"
replace: "-Dfwupd-efi:efi_sbat_distro_url=\"mailto:security@almalinux.org\" \\"
count: 1
- target: "spec"
find: |
@ -30,10 +30,10 @@ actions:
count: 1
- target: "spec"
find: |
%{_datadir}/fwupd/uefi-capsule-ux.tar.xz
%{_datadir}/fwupd/uefi-capsule-ux.zip
%endif
replace: |
%{_datadir}/fwupd/uefi-capsule-ux.tar.xz
%{_datadir}/fwupd/uefi-capsule-ux.zip
%endif
%if 0%{?have_modem_manager}
%{_libdir}/fwupd-plugins-3/libfu_plugin_modem_manager.so