AlmaLinux changes

This commit is contained in:
Andrew Lukoshko 2021-09-15 09:18:27 +00:00
parent 5c9d318097
commit 1329d57b09
4 changed files with 7 additions and 5 deletions

BIN
SOURCES/clsecureboot001.cer Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -5,7 +5,7 @@
Name: fwupdate Name: fwupdate
Version: 11 Version: 11
Release: 3%{?dist} Release: 3%{?dist}.alma
Summary: Tools to manage UEFI firmware updates Summary: Tools to manage UEFI firmware updates
License: GPLv2+ License: GPLv2+
URL: https://github.com/rhinstaller/fwupdate URL: https://github.com/rhinstaller/fwupdate
@ -23,8 +23,7 @@ BuildRequires: libsmbios-devel
ExclusiveArch: x86_64 aarch64 ExclusiveArch: x86_64 aarch64
Source0: https://github.com/rhinstaller/fwupdate/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 Source0: https://github.com/rhinstaller/fwupdate/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Source1: find-debuginfo-efi.sh Source1: find-debuginfo-efi.sh
Source2: securebootca.cer Source2: clsecureboot001.cer
Source3: secureboot.cer
Patch0001: Fix-dependency-chain-for-a-parallel-make-issue.patch Patch0001: Fix-dependency-chain-for-a-parallel-make-issue.patch
@ -105,7 +104,7 @@ make TOPDIR=.. -f ../Makefile OPT_FLAGS="$RPM_OPT_FLAGS" \
libdir=%{_libdir} bindir=%{_bindir} \ libdir=%{_libdir} bindir=%{_bindir} \
EFIDIR=%{efidir} %{?_smp_mflags} EFIDIR=%{efidir} %{?_smp_mflags}
mv -v efi/fwup%{efiarch}.efi efi/fwup%{efiarch}.unsigned.efi 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 redhatsecureboot301 -c %{SOURCE3} %pesign -s -i efi/fwup%{efiarch}.unsigned.efi -o efi/fwup%{efiarch}.efi -a %{SOURCE2} -n clsecureboot001 -c %{SOURCE3}
cd .. cd ..
%ifarch x86_64 %ifarch x86_64
@ -115,7 +114,7 @@ setarch linux32 -B make TOPDIR=.. -f ../Makefile ARCH=%{efialtarch} \
libdir=%{_libdir} bindir=%{_bindir} \ libdir=%{_libdir} bindir=%{_bindir} \
EFIDIR=%{efidir} %{?_smp_mflags} EFIDIR=%{efidir} %{?_smp_mflags}
mv -v efi/fwup%{efialtarch}.efi efi/fwup%{efialtarch}.unsigned.efi 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 redhatsecureboot301 -c %{SOURCE3} %pesign -s -i efi/fwup%{efialtarch}.unsigned.efi -o efi/fwup%{efialtarch}.efi -a %{SOURCE2} -n clsecureboot001 -c %{SOURCE3}
cd .. cd ..
%endif %endif
@ -201,6 +200,9 @@ make abicheck
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* 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 * Thu Feb 21 2019 Javier Martinez Canillas <javierm@redhat.com> 11-3
- Fix dependency chain issue when doing a parallel make - Fix dependency chain issue when doing a parallel make
Related: rhbz#1677579 Related: rhbz#1677579