AlmaLinux changes: Use AlmaLinux cert

This commit is contained in:
Eduard Abdullin 2026-07-06 07:40:45 +00:00 committed by root
commit da39b87179
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
/fwupd-efi-1.4.tar.xz
/fwupd-efi-1.5.tar.xz
/fwupd-efi-1.6.tar.xz
/fwupd-efi-1.8.tar.gz

View File

@ -6,16 +6,15 @@
%define sb_ca %{_datadir}/pki/sb-certs/secureboot-ca-%{_arch}.cer
%define sb_cer %{_datadir}/pki/sb-certs/secureboot-fwupd-%{_arch}.cer
%define sb_key almalinuxsecurebootca0
%define sb_key almalinuxsecureboot0
Summary: Firmware update EFI binaries
Name: fwupd-efi
Version: 1.6
Version: 1.8
Release: %autorelease
License: LGPL-2.1-or-later
URL: https://github.com/fwupd/fwupd-efi
Source0: https://github.com/fwupd/fwupd-efi/releases/download/%{version}/%{name}-%{version}.tar.xz
Source0: https://github.com/fwupd/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz
# these are the only architectures supporting UEFI UpdateCapsule
ExclusiveArch: x86_64 aarch64
@ -37,9 +36,11 @@ the EFI binary that is used for updating using UpdateCapsule.
%build
%meson \
-Dgenpeimg=disabled \
-Defi_sbat_distro_id="almalinux" \
-Defi_sbat_distro_summary="AlmaLinux" \
-Defi_sbat_distro_url="mailto:security@almalinux.org" \
-Dgenpeimg=disabled \
-Defi_sbat_distro_pkgname="%{name}" \
-Defi_sbat_distro_version="%{version}-%{release}"
@ -60,9 +61,13 @@ the EFI binary that is used for updating using UpdateCapsule.
%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.signed -a %{sb_ca} -c %{sb_cer} -n %{sb_key}
rm -vf %{fwup_efi_fn}.tmp
%check
pesigcheck -i %{fwup_efi_fn}.signed -n0 -c %{sb_cer}
%files
%doc README.md AUTHORS
%license COPYING
%dir %{_libexecdir}/fwupd/efi
%{_libexecdir}/fwupd/efi/*.efi
%{_libexecdir}/fwupd/efi/*.efi.signed
%{_libdir}/pkgconfig/fwupd-efi.pc

View File

@ -1 +1 @@
SHA512 (fwupd-efi-1.6.tar.xz) = 37d3c1348bdead620e626a3e602dc6cd774c47d24ca18a3bf6aee071300d658bc4d37e6ec74fcd20f9b345141d69ea3343d44b9408af4759ad65ef10b72ead69
SHA512 (fwupd-efi-1.8.tar.gz) = bd361eb60397850af025228ea9f4efbf289f8e1c2612f240ae4c5ffee8caea15c31aa0748c06e57b28a7f38b8c2708147a228d8a99077798f4435436f12e092e