commit 4c3b55f7d6185e46789d8f7ad3d95e2d4c95ceb3 Author: Sofia Boldyreva Date: Wed Jan 15 22:34:43 2025 +0100 Initial commit diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..bd325a2 --- /dev/null +++ b/config.yaml @@ -0,0 +1,33 @@ +actions: + - replace: + - target: "spec" + find: "BuildRequires: efivar-devel >= %{efivar_version}" + replace: "BuildRequires: efivar-devel < 37" + count: 1 + - target: "spec" + find: "%pesign -s -i efi/fwup%{efiarch}.unsigned.efi -o efi/fwup%{efiarch}.efi -a %{SOURCE2} -n redhatsecureboot301 -c %{SOURCE3}" + replace: "%pesign -s -i efi/fwup%{efiarch}.unsigned.efi -o efi/fwup%{efiarch}.efi -a %{SOURCE2} -n clsecureboot001 -c %{SOURCE3}" + count: 1 + - target: "spec" + find: "%pesign -s -i efi/fwup%{efialtarch}.unsigned.efi -o efi/fwup%{efialtarch}.efi -a %{SOURCE2} -n redhatsecureboot301 -c %{SOURCE3}" + replace: "%pesign -s -i efi/fwup%{efialtarch}.unsigned.efi -o efi/fwup%{efialtarch}.efi -a %{SOURCE2} -n clsecureboot001 -c %{SOURCE3}" + count: 1 + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Andrei Lukoshko" + email: "alukoshko@almalinux.org" + line: + - "Debrand for AlmaLinux" + + - add_files: + - type: "source" + name: "clsecureboot001.cer" + number: 2 + + - delete_files: + - file_name: "secureboot.cer" + - file_name: "securebootca.cer" diff --git a/files/clsecureboot001.cer b/files/clsecureboot001.cer new file mode 100644 index 0000000..ca9ce5d Binary files /dev/null and b/files/clsecureboot001.cer differ