From 3e1d565c39a1819a6e79ef910c84e5e3fdfe9b1f Mon Sep 17 00:00:00 2001 From: root Date: Mon, 13 Apr 2026 07:44:07 +0000 Subject: [PATCH] fix(autopatch): auto-fix for fwupd on c9-beta MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed obsolete delete_line/add_files/delete_files/sbat/pesign actions; kept efi_vendor inject; added sb_key replacement (redhatsecureboot802 → almalinuxsecureboot0) --- config.yaml | 42 ++---------------------------------------- 1 file changed, 2 insertions(+), 40 deletions(-) diff --git a/config.yaml b/config.yaml index 2c73447..10d0e2c 100644 --- a/config.yaml +++ b/config.yaml @@ -3,35 +3,12 @@ actions: - suffix: ".alma.1" enabled: true - - delete_line: - - target: "spec" - lines: - - | - Source300: redhatsecurebootca3.cer - Source301: redhatsecureboot301.cer - Source500: redhatsecurebootca5.cer - Source503: redhatsecureboot503.cer - - changelog_entry: - name: "Eduard Abdullin" email: "eabdullin@almalinux.org" line: - "Use AlmaLinux cert" - - add_files: - - type: "source" - name: "almalinuxsecurebootca0.cer" - number: 300 - - type: "source" - name: "almalinuxsecureboot0.cer" - number: 301 - - - delete_files: - - file_name: "redhatsecureboot301.cer" - - file_name: "redhatsecureboot503.cer" - - file_name: "redhatsecurebootca3.cer" - - file_name: "redhatsecurebootca5.cer" - - replace: - target: "spec" find: "%global glib2_version" @@ -43,21 +20,6 @@ actions: %global glib2_version count: 1 - target: "spec" - find: | - -Dfwupd-efi:efi_sbat_distro_id="rhel" \ - -Dfwupd-efi:efi_sbat_distro_summary="Red Hat Enterprise Linux" \ - replace: | - -Dfwupd-efi:efi_sbat_distro_id="almalinux" \ - -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=\"mailto:security@almalinux.org\" \\" - count: 1 - - target: "spec" - find: | - %pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.tmp -a %{SOURCE300} -c %{SOURCE301} -n redhatsecureboot301 - %pesign -s -i %{fwup_efi_fn}.tmp -o %{fwup_efi_fn}.signed -a %{SOURCE500} -c %{SOURCE503} -n redhatsecureboot503 - replace: | - %pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.signed -a %{SOURCE300} -c %{SOURCE301} -n almalinuxsecureboot0 + find: "redhatsecureboot802" + replace: "almalinuxsecureboot0" count: 1 -- 2.47.3