fwupd-efi/config.yaml

53 lines
1.9 KiB
YAML
Raw Permalink Normal View History

2025-01-15 21:32:14 +00:00
actions:
- replace:
- target: "spec"
find: "%global debug_package %{nil}"
replace: |
%global efi_vendor almalinux
%global efidir almalinux
%global efi_esp_dir /boot/efi/EFI/%{efidir}
%global debug_package %{nil}
count: 1
- target: "spec"
find: |
-Defi_sbat_distro_id="fedora" \
-Defi_sbat_distro_summary="The Fedora Project" \
replace: |
-Defi_sbat_distro_id="almalinux" \
-Defi_sbat_distro_summary="AlmaLinux" \
count: 1
- target: "spec"
find: "-Defi_sbat_distro_url=\"https://src.fedoraproject.org/rpms/%{name}\""
replace: "-Defi_sbat_distro_url=\"https://git.almalinux.org/rpms/%{name}\""
count: 1
- target: "spec"
find: "%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.tmp -a %{SOURCE300} -c %{SOURCE301} -n redhatsecureboot301"
replace: "%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.tmp -a %{SOURCE300} -c %{SOURCE301} -n almalinuxsecurebootca0"
count: 1
- target: "spec"
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
- 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"