[shim] Add the Fedora CA public key.

Peter Jones pjones at fedoraproject.org
Thu Oct 18 22:41:28 UTC 2012


commit 75567dae2197bc1d2d80d783b4d3958bcc7213c7
Author: Peter Jones <pjones at redhat.com>
Date:   Thu Oct 18 18:32:33 2012 -0400

    Add the Fedora CA public key.
    
    Signed-off-by: Peter Jones <pjones at redhat.com>

 fedora-ca.cer |  Bin 0 -> 741 bytes
 shim.spec     |    5 +++--
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/fedora-ca.cer b/fedora-ca.cer
new file mode 100644
index 0000000..1ddde77
Binary files /dev/null and b/fedora-ca.cer differ
diff --git a/shim.spec b/shim.spec
index 8b91550..655742b 100644
--- a/shim.spec
+++ b/shim.spec
@@ -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}
 


More information about the scm-commits mailing list