[shim/f18] Sign our shim.efi with the RH test certificate.
Peter Jones
pjones at fedoraproject.org
Mon Aug 13 15:49:19 UTC 2012
commit f5b1b98434e9b194ed80542b62f32c2280a60f47
Author: Peter Jones <pjones at redhat.com>
Date: Mon Aug 13 11:47:45 2012 -0400
Sign our shim.efi with the RH test certificate.
For now, just sign with the test cert.
shim.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/shim.spec b/shim.spec
index 97db01b..5b33611 100644
--- a/shim.spec
+++ b/shim.spec
@@ -7,7 +7,7 @@ License: BSD
URL: http://www.codon.org.uk/~mjg59/shim/
Source0: http://www.codon.org.uk/~mjg59/shim/shim-%{version}.tar.bz2
-BuildRequires: gnu-efi
+BuildRequires: gnu-efi pesign
Requires: gnu-efi
# Shim uses OpenSSL, but cannot use the system copy as the UEFI ABI is not
@@ -50,6 +50,8 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
+mv shim.efi shim.orig
+pesign -s -c "Red Hat Test Certificate" -i shim.orig -o shim.efi
install -m 0755 -D shim.efi $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/shim.efi
%files
More information about the scm-commits
mailing list