Compare commits

...

No commits in common. "changed/a8-beta/fwupdate-11-3.el8.alma.2" and "c8s" have entirely different histories.

4 changed files with 6 additions and 14 deletions

Binary file not shown.

BIN
SOURCES/secureboot.cer Normal file

Binary file not shown.

BIN
SOURCES/securebootca.cer Normal file

Binary file not shown.

View File

@ -5,12 +5,12 @@
Name: fwupdate
Version: 11
Release: 3%{?dist}.alma.2
Release: 3%{?dist}
Summary: Tools to manage UEFI firmware updates
License: GPLv2+
URL: https://github.com/rhinstaller/fwupdate
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: efivar-devel < 37
BuildRequires: efivar-devel >= %{efivar_version}
BuildRequires: gnu-efi >= %{gnu_efi_version}
BuildRequires: gnu-efi-devel >= %{gnu_efi_version}
BuildRequires: pesign
@ -23,7 +23,8 @@ BuildRequires: libsmbios-devel
ExclusiveArch: x86_64 aarch64
Source0: https://github.com/rhinstaller/fwupdate/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Source1: find-debuginfo-efi.sh
Source2: almalinuxsecurebootca0.cer
Source2: securebootca.cer
Source3: secureboot.cer
Patch0001: Fix-dependency-chain-for-a-parallel-make-issue.patch
@ -104,7 +105,7 @@ make TOPDIR=.. -f ../Makefile OPT_FLAGS="$RPM_OPT_FLAGS" \
libdir=%{_libdir} bindir=%{_bindir} \
EFIDIR=%{efidir} %{?_smp_mflags}
mv -v efi/fwup%{efiarch}.efi efi/fwup%{efiarch}.unsigned.efi
%pesign -s -i efi/fwup%{efiarch}.unsigned.efi -o efi/fwup%{efiarch}.efi -a %{SOURCE2} -n clsecureboot001 -c %{SOURCE3}
%pesign -s -i efi/fwup%{efiarch}.unsigned.efi -o efi/fwup%{efiarch}.efi -a %{SOURCE2} -n redhatsecureboot301 -c %{SOURCE3}
cd ..
%ifarch x86_64
@ -114,7 +115,7 @@ setarch linux32 -B make TOPDIR=.. -f ../Makefile ARCH=%{efialtarch} \
libdir=%{_libdir} bindir=%{_bindir} \
EFIDIR=%{efidir} %{?_smp_mflags}
mv -v efi/fwup%{efialtarch}.efi efi/fwup%{efialtarch}.unsigned.efi
%pesign -s -i efi/fwup%{efialtarch}.unsigned.efi -o efi/fwup%{efialtarch}.efi -a %{SOURCE2} -n clsecureboot001 -c %{SOURCE3}
%pesign -s -i efi/fwup%{efialtarch}.unsigned.efi -o efi/fwup%{efialtarch}.efi -a %{SOURCE2} -n redhatsecureboot301 -c %{SOURCE3}
cd ..
%endif
@ -200,15 +201,6 @@ make abicheck
%defattr(-,root,root)
%changelog
* Mon Feb 27 2023 Eduard Abdullin <eabdullin@cloudlinux.com> - 11-3.alma.2
- Use AlmaLinux cert
* Thu Oct 14 2021 Eduard Abdullin <eabdullin@cloudlinux.com> - 11-3.alma.1
- Downgrade to old version efi
* Fri Apr 09 2021 Andrew Lukoshko <alukoshko@almalinux.org> - 11-3.alma
- Debrand for AlmaLinux
* Thu Feb 21 2019 Javier Martinez Canillas <javierm@redhat.com> 11-3
- Fix dependency chain issue when doing a parallel make
Related: rhbz#1677579