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