From 1ecf8fe75632c87045bc5e4e7394cecbedebf0ef Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 3 Dec 2014 12:33:38 -0500 Subject: [PATCH] Fix bootloader path and whitelist certificates on ARM Aarch64. Resolves: rhbz#1170289 Signed-off-by: Peter Jones --- .gitignore | 1 + shim.spec | 24 +++++++++++++++++++++--- sources | 1 + 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f930f0c..0b3bfd0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.tar.* clog *.rpm +/rhtest.cer diff --git a/shim.spec b/shim.spec index a80cc6a..bb2a4f9 100644 --- a/shim.spec +++ b/shim.spec @@ -1,6 +1,6 @@ Name: shim Version: 0.8 -Release: 1 +Release: 2%{?dist} Summary: First-stage UEFI bootloader License: BSD @@ -17,6 +17,7 @@ Source1: fedora-ca.cer # gcdx64.efi 99fcaa957786c155a92b40be9c981c4e4685b8c62b408cb0f6cb2df9c30b9978 # woops. Source2: dbx.esl +Source4: rhtest.cer BuildRequires: git openssl-devel openssl BuildRequires: pesign >= 0.106-1 @@ -34,6 +35,13 @@ Provides: bundled(openssl) = 0.9.8zb # Adding further platforms will require adding appropriate relocation code. ExclusiveArch: x86_64 aarch64 +%ifarch x86_64 +%global efiarch x64 +%endif +%ifarch aarch64 +%global efiarch aa64 +%endif + # Figure out the right file path to use %if 0%{?rhel} %global efidir redhat @@ -60,16 +68,22 @@ git config user.email "%{name}-owner@fedoraproject.org" git config user.name "Fedora Ninjas" git add . git commit -a -q -m "%{version} baseline." -git am %{patches} - 0.8-2 +- Fix bootloader path and whitelist certificates on ARM Aarch64. + Resolves: rhbz#1170289 + * Tue Oct 14 2014 Peter Jones - 0.8-1 - Update to 0.8 Related: rhbz#1148230 diff --git a/sources b/sources index 1f66b7a..c19996a 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ af9b5f559d1f9e370ad119c244d0f563 shim-0.8.tar.bz2 +79d671bc59eb0bb5f0a7997db8f9ec98 rhtest.cer