Update config file

This commit is contained in:
eabdullin 2025-01-17 10:14:06 +03:00
parent 028a6e3cbd
commit 2e97a2f756

View File

@ -1,13 +1,43 @@
actions:
- modify_release:
- 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
- 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 2.45.8"
find: "%global glib2_version"
replace: |
%global efi_vendor almalinux
%global efidir almalinux
%global efi_esp_dir /boot/efi/EFI/%{efidir}
%global glib2_version 2.45.8
%global efi_vendor almalinux
%global efidir almalinux
%global efi_esp_dir /boot/efi/EFI/%{efidir}
%global glib2_version
count: 1
- target: "spec"
find: |
@ -29,24 +59,12 @@ actions:
%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.tmp -a %{SOURCE300} -c %{SOURCE301} -n almalinuxsecurebootca0
%pesign -s -i %{fwup_efi_fn}.tmp -o %{fwup_efi_fn}.signed -a %{SOURCE500} -c %{SOURCE503} -n almalinuxsecurebootca0
count: 1
- modify_release:
- suffix: ".alma.1"
enabled: true
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Use AlmaLinux cert"
- add_files:
- type: "source"
name: "almalinuxsecurebootca0.cer"
number: 300
- delete_files:
- file_name: "redhatsecurebootca3.cer"
- file_name: "redhatsecureboot301.cer"
- file_name: "redhatsecurebootca5.cer"
- file_name: "redhatsecureboot503.cer"
- target: "spec"
find: |
Source300: almalinuxsecurebootca0.cer
replace: |
Source300: almalinuxsecurebootca0.cer
Source301: almalinuxsecurebootca0.cer
Source500: almalinuxsecurebootca0.cer
Source503: almalinuxsecurebootca0.cer
count: 1