Fix config file

This commit is contained in:
eabdullin 2025-01-21 14:03:04 +03:00
parent d4241ac110
commit 25575758c0

View File

@ -1,4 +1,28 @@
actions:
- modify_release:
- suffix: ".alma.1"
enabled: true
- 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"
- delete_line:
- target: "spec"
lines:
- |
Source300: redhatsecurebootca3.cer
Source301: redhatsecureboot301.cer
Source500: redhatsecurebootca5.cer
Source503: redhatsecureboot503.cer
- replace:
- target: "spec"
find: "%global debug_package %{nil}"
@ -15,7 +39,7 @@ actions:
-Defi_sbat_distro_summary="The Fedora Project" \
replace: |
-Defi_sbat_distro_id="almalinux" \
-Defi_sbat_distro_summary="AlmaLinux" \
-Defi_sbat_distro_summary="AlmaLinux" \
count: 1
- target: "spec"
find: "-Defi_sbat_distro_url=\"https://src.fedoraproject.org/rpms/%{name}\""
@ -29,24 +53,17 @@ actions:
find: "%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}.tmp -o %{fwup_efi_fn}.signed -a %{SOURCE500} -c %{SOURCE503} -n almalinuxsecurebootca0"
count: 1
- modify_release:
- suffix: ".alma.1"
enabled: true
- target: "spec"
find: "Source300: almalinuxsecurebootca0.cer"
replace: |
Source300: almalinuxsecurebootca0.cer
Source301: almalinuxsecurebootca0.cer
Source500: almalinuxsecurebootca0.cer
Source503: almalinuxsecurebootca0.cer
count: 1
- changelog_entry:
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Use AlmaLinux cert"
- add_files:
- type: "source"
name: "almalinuxsecurebootca0"
number: 300
- delete_files:
- file_name: "redhatsecurebootca3.cer"
- file_name: "redhatsecureboot301.cer"
- file_name: "redhatsecurebootca5.cer"
- file_name: "redhatsecureboot503.cer"