Add the Fedora CA public key.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2012-10-18 18:32:33 -04:00
parent c476086209
commit 75567dae21
2 changed files with 3 additions and 2 deletions

BIN
fedora-ca.cer Normal file

Binary file not shown.

View File

@ -6,6 +6,7 @@ Summary: First-stage UEFI bootloader
License: BSD
URL: http://www.codon.org.uk/~mjg59/shim/
Source0: http://www.codon.org.uk/~mjg59/shim/shim-%{version}.tar.bz2
Source1: fedora-ca.cer
BuildRequires: gnu-efi git
BuildRequires: pesign >= 0.99-6
@ -58,8 +59,8 @@ git am %{patches} </dev/null
pesign %{vendor_token_str} %{vendor_cert_str} -C vendor.cer
MAKEFLAGS=""
if [ -f vendor.cer ]; then
MAKEFLAGS="VENDOR_CERT_FILE=vendor.cer"
if [ -f "%{SOURCE1}" ]; then
MAKEFLAGS="VENDOR_CERT_FILE=%{SOURCE1}"
fi
make %{?_smp_mflags} ${MAKEFLAGS}