From ea946fe76de6ff3da43fe8204f78aa067bd412cf Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Wed, 16 Feb 2022 15:55:59 -0600 Subject: [PATCH] Require Secure Boot certs based on architecture Resolves: #2049214 Signed-off-by: Brian Stinson --- grub2.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/grub2.spec b/grub2.spec index 55eb824..1cdea63 100644 --- a/grub2.spec +++ b/grub2.spec @@ -14,7 +14,7 @@ Name: grub2 Epoch: 1 Version: 2.06 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Bootloader with support for Linux, Multiboot and more License: GPLv3+ URL: http://www.gnu.org/software/grub/ @@ -69,6 +69,8 @@ BuildRequires: help2man BuildRequires: systemd %ifarch %{efi_arch} BuildRequires: pesign >= 0.99-8 +%endif +%ifarch aarch64 ppc64le x86_64 BuildRequires: system-sb-certs %endif %if %{?_with_ccache: 1}%{?!_with_ccache: 0} @@ -546,6 +548,10 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg %endif %changelog +* Wed Feb 16 2022 Brian Stinson - 2.06-21 +- Require Secure Boot certs based on architecture +- Resolves: #2049214 + * Wed Feb 16 2022 Brian Stinson - 2.06-20 - Conditionalize Secure Boot settings per architecture - Resolves: #2049214