AlmaLinux Changes
This commit is contained in:
parent
4141c259cf
commit
25a8f95266
BIN
SOURCES/clsecureboot001.cer
Normal file
BIN
SOURCES/clsecureboot001.cer
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -40,7 +40,7 @@
|
||||
Summary: Firmware update daemon
|
||||
Name: fwupd
|
||||
Version: 1.7.1
|
||||
Release: 1%{?dist}
|
||||
Release: 1%{?dist}.alma
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/fwupd/fwupd
|
||||
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
||||
@ -56,10 +56,7 @@ Source15: http://people.redhat.com/rhughes/dbx/DBXUpdate-20200729-x64.cab
|
||||
|
||||
# these are numbered high just to keep them wildly away from colliding with
|
||||
# the real package sources, in order to reduce churn.
|
||||
Source300: redhatsecurebootca3.cer
|
||||
Source301: redhatsecureboot301.cer
|
||||
Source500: redhatsecurebootca5.cer
|
||||
Source503: redhatsecureboot503.cer
|
||||
Source300: clsecureboot001.cer
|
||||
|
||||
BuildRequires: efi-srpm-macros
|
||||
BuildRequires: gettext
|
||||
@ -216,11 +213,11 @@ export RHEL_ALLOW_PYTHON2_FOR_BUILD=1
|
||||
-Dplugin_uefi_capsule=true \
|
||||
-Dplugin_uefi_pk=false \
|
||||
%ifarch x86_64
|
||||
-Dfwupd-efi:efi_sbat_distro_id="rhel" \
|
||||
-Dfwupd-efi:efi_sbat_distro_summary="Red Hat Enterprise Linux" \
|
||||
-Dfwupd-efi:efi_sbat_distro_id="almalinux" \
|
||||
-Dfwupd-efi:efi_sbat_distro_summary="AlmaLinux" \
|
||||
-Dfwupd-efi:efi_sbat_distro_pkgname="%{name}" \
|
||||
-Dfwupd-efi:efi_sbat_distro_version="%{version}" \
|
||||
-Dfwupd-efi:efi_sbat_distro_url="mail:secalert@redhat.com" \
|
||||
-Dfwupd-efi:efi_sbat_distro_url="mail:security@almalinux.org" \
|
||||
-Dfwupd-efi:efi-libdir="/usr/lib64" \
|
||||
%endif
|
||||
-Dplugin_tpm=false \
|
||||
@ -263,8 +260,7 @@ install %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15}
|
||||
%ifarch x86_64
|
||||
%global efiarch x64
|
||||
%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 redhatsecureboot301
|
||||
%pesign -s -i %{fwup_efi_fn}.tmp -o %{fwup_efi_fn}.signed -a %{SOURCE500} -c %{SOURCE503} -n redhatsecureboot503
|
||||
%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.signed -a %{SOURCE300} -c %{SOURCE301} -n clsecureboot001
|
||||
rm -fv %{fwup_efi_fn}.tmp
|
||||
%endif
|
||||
|
||||
@ -519,6 +515,9 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Apr 21 2022 Andrew Lukoshko <alukoshko@almalinux.org> - 1.7.1-1.alma
|
||||
- AlmaLinux changes
|
||||
|
||||
* Mon Nov 01 2021 Richard Hughes <richard@hughsie.com> 1.7.1-1
|
||||
- New upstream release
|
||||
- Backport upstream changes
|
||||
|
Loading…
Reference in New Issue
Block a user