From 35599e893ba98ab2f9021dd2bd110729f63b923d Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Fri, 14 Nov 2025 12:28:39 +0000 Subject: [PATCH 1/4] Update SBAT patching to include grub.centos --- config.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index 0d13e74..cc391f6 100644 --- a/config.yaml +++ b/config.yaml @@ -23,10 +23,14 @@ actions: replace: "%{x86_64}" count: 5 - target: "sbat.csv.in" - find: "grub.rh,2,Red Hat,grub2,@@VERSION_RELEASE@@,mailto:secalert@redhat.com" + find: | + grub.rh,2,Red Hat,grub2,@@VERSION_RELEASE@@,mailto:secalert@redhat.com + grub.centos,2,Red Hat,grub2,@@VERSION_RELEASE@@,mailto:secalert@redhat.com replace: | grub.rh,2,Red Hat,grub2,@@RHEL_VERSION_RELEASE@@,mailto:secalert@redhat.com + grub.centos,2,Red Hat,grub2,@@RHEL_VERSION_RELEASE@@,mailto:secalert@redhat.com grub.almalinux,2,AlmaLinux,grub2,@@VERSION_RELEASE@@,mailto:security@almalinux.org + count: 1 - target: "spec" find: "x86_64" replace: "%{x86_64}" -- 2.47.3 From 89b0b0836d238850be4dcef8bbd771ec157c0eef Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Wed, 4 Mar 2026 15:02:01 +0000 Subject: [PATCH 2/4] Fix %global grub_modules --- config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yaml b/config.yaml index cc391f6..c590214 100644 --- a/config.yaml +++ b/config.yaml @@ -54,8 +54,8 @@ actions: find: "sed -e \"s,@@VERSION@@,%{version},g\" -e \"s,@@VERSION_RELEASE@@,%{version}-%{release},g\" \\" replace: "sed -e \"s,@@VERSION@@,%{version},g\" -e \"s,@@VERSION_RELEASE@@,%{version}-%{release},g\" -e \"s,@@RHEL_VERSION_RELEASE@@,%{rhel_version_release},g\" \\" - target: "grub.macros" - find: '%global grub_modules " all_video boot blscfg \\\' - replace: '%global grub_modules " all_video boot blscfg btrfs \\\' + find: '%global grub_modules " all_video boot blscfg blsuki \\\' + replace: '%global grub_modules " all_video boot blscfg blsuki btrfs \\\' count: 1 - modify_release: -- 2.47.3 From 71487c38918f85637ecd7a89a61888d13f3e8de6 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Sun, 8 Mar 2026 21:24:14 +0000 Subject: [PATCH 3/4] Fix sb_key name --- config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.yaml b/config.yaml index c590214..d581c35 100644 --- a/config.yaml +++ b/config.yaml @@ -37,7 +37,7 @@ actions: count: 5 - target: "spec" find: "%if 0%{?centos}" - replace: "%define sb_key almalinuxsecurebootca0" + replace: "%define sb_key almalinuxsecureboot0" count: 1 - target: "spec" find: | -- 2.47.3 From a3697d10552f70bfe1d0cf4e68af7fecf0a1d9ad Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 Apr 2026 10:34:06 +0000 Subject: [PATCH 4/4] fix(autopatch): auto-fix for grub2 on c10-beta Added 'pre_clean: true' to parameters section in config.yaml to handle unrelated git histories between c10-beta and a10-beta branches. --- config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.yaml b/config.yaml index d581c35..2bb2f17 100644 --- a/config.yaml +++ b/config.yaml @@ -1,3 +1,6 @@ +parameters: + pre_clean: true + actions: - delete_line: -- 2.47.3