Compare commits
No commits in common. "a10s" and "c10s" have entirely different histories.
Binary file not shown.
@ -1,7 +1,3 @@
|
|||||||
%global efi_vendor almalinux
|
|
||||||
%global efidir almalinux
|
|
||||||
%global efi_esp_dir /boot/efi/EFI/%{efidir}
|
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Summary: Firmware update EFI binaries
|
Summary: Firmware update EFI binaries
|
||||||
@ -12,10 +8,10 @@ License: LGPL-2.1-or-later
|
|||||||
URL: https://github.com/fwupd/fwupd-efi
|
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/fwupd-efi/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
Source300: almalinuxsecurebootca0.cer
|
Source300: redhatsecurebootca3.cer
|
||||||
Source301: almalinuxsecurebootca0.cer
|
Source301: redhatsecureboot301.cer
|
||||||
Source500: almalinuxsecurebootca0.cer
|
Source500: redhatsecurebootca5.cer
|
||||||
Source503: almalinuxsecurebootca0.cer
|
Source503: redhatsecureboot503.cer
|
||||||
|
|
||||||
# these are the only architectures supporting UEFI UpdateCapsule
|
# these are the only architectures supporting UEFI UpdateCapsule
|
||||||
ExclusiveArch: x86_64 aarch64
|
ExclusiveArch: x86_64 aarch64
|
||||||
@ -36,11 +32,11 @@ the EFI binary that is used for updating using UpdateCapsule.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%meson \
|
%meson \
|
||||||
-Defi_sbat_distro_id="almalinux" \
|
-Defi_sbat_distro_id="fedora" \
|
||||||
-Defi_sbat_distro_summary="AlmaLinux" \
|
-Defi_sbat_distro_summary="The Fedora Project" \
|
||||||
-Defi_sbat_distro_pkgname="%{name}" \
|
-Defi_sbat_distro_pkgname="%{name}" \
|
||||||
-Defi_sbat_distro_version="%{version}-%{release}" \
|
-Defi_sbat_distro_version="%{version}-%{release}" \
|
||||||
-Defi_sbat_distro_url="https://git.almalinux.org/rpms/%{name}"
|
-Defi_sbat_distro_url="https://src.fedoraproject.org/rpms/%{name}"
|
||||||
|
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
@ -55,9 +51,9 @@ the EFI binary that is used for updating using UpdateCapsule.
|
|||||||
%global efiarch aa64
|
%global efiarch aa64
|
||||||
%endif
|
%endif
|
||||||
%global fwup_efi_fn $RPM_BUILD_ROOT%{_libexecdir}/fwupd/efi/fwupd%{efiarch}.efi
|
%global fwup_efi_fn $RPM_BUILD_ROOT%{_libexecdir}/fwupd/efi/fwupd%{efiarch}.efi
|
||||||
%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.tmp -a %{SOURCE300} -c %{SOURCE301} -n almalinuxsecurebootca0
|
%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.tmp -a %{SOURCE300} -c %{SOURCE301} -n redhatsecureboot301
|
||||||
%define __pesign_client_cert fwupd-signer
|
%define __pesign_client_cert fwupd-signer
|
||||||
%pesign -s -i %{fwup_efi_fn}.tmp -o %{fwup_efi_fn}.signed -a %{SOURCE500} -c %{SOURCE503} -n almalinuxsecurebootca0
|
%pesign -s -i %{fwup_efi_fn}.tmp -o %{fwup_efi_fn}.signed -a %{SOURCE500} -c %{SOURCE503} -n redhatsecureboot503
|
||||||
rm -vf %{fwup_efi_fn}.tmp
|
rm -vf %{fwup_efi_fn}.tmp
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
0
redhatsecureboot301.cer
Normal file
0
redhatsecureboot301.cer
Normal file
0
redhatsecureboot503.cer
Normal file
0
redhatsecureboot503.cer
Normal file
0
redhatsecurebootca3.cer
Normal file
0
redhatsecurebootca3.cer
Normal file
0
redhatsecurebootca5.cer
Normal file
0
redhatsecurebootca5.cer
Normal file
Loading…
Reference in New Issue
Block a user