From b6be43a2d2d1759b536b1789260b2304a4581e7b Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Sun, 8 Mar 2026 23:27:34 +0000 Subject: [PATCH] Update config: add both secure boot certs, pesign name, Source replace --- config.yaml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/config.yaml b/config.yaml index 1acc78f..1e77d76 100644 --- a/config.yaml +++ b/config.yaml @@ -49,6 +49,17 @@ actions: Name: shim count: 1 + - target: "spec" + find: | + Source1: redhatsecureboot501.cer + Source2: redhatsecurebootca5.cer + replace: | + Source1: almalinuxsecureboot0.cer + Source2: almalinuxsecurebootca0.cer + - target: "shim.rpmmacros" + find: "-n redhatsecureboot501 -a %{SOURCE2} -c %{SOURCE1}" + replace: "-n almalinuxsecureboot0 -a %{SOURCE2} -c %{SOURCE1}" + count: 1 - target: ".gitignore" find: | SOURCES/fbx64.efi @@ -59,13 +70,6 @@ actions: SOURCES/mmaa64.efi SOURCES/mmx64.efi count: 1 - - - delete_line: - - target: "spec" - lines: - - | - Source1: redhatsecureboot501.cer - Source2: redhatsecurebootca5.cer - modify_release: - suffix: ".alma.2" @@ -87,6 +91,9 @@ actions: - add_files: - type: "source" name: "almalinuxsecurebootca0.cer" + number: 2 + - type: "source" + name: "almalinuxsecureboot0.cer" number: 1 - type: "source" name: "BOOTAA64.CSV"