Accepting request 150244 from Base:System
- Embed openSUSE-UEFI-CA-Certificate.crt in shim - Rename shim-unsigned.efi to shim-opensuse.efi. (forwarded request 150243 from gary_lin) OBS-URL: https://build.opensuse.org/request/show/150244 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shim?expand=0&rev=4
This commit is contained in:
parent
718fa0d383
commit
d4ac6df770
37
openSUSE-UEFI-CA-Certificate.crt
Normal file
37
openSUSE-UEFI-CA-Certificate.crt
Normal file
@ -0,0 +1,37 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIGdDCCBFygAwIBAgIBATANBgkqhkiG9w0BAQsFADCBgTEgMB4GA1UEAwwXb3Bl
|
||||
blNVU0UgU2VjdXJlIEJvb3QgQ0ExCzAJBgNVBAYTAkRFMRIwEAYDVQQHDAlOdXJl
|
||||
bWJlcmcxGTAXBgNVBAoMEG9wZW5TVVNFIFByb2plY3QxITAfBgkqhkiG9w0BCQEW
|
||||
EmJ1aWxkQG9wZW5zdXNlLm9yZzAeFw0xMzAxMjgxNDUzMzBaFw0zNDEyMjQxNDUz
|
||||
MzBaMIGBMSAwHgYDVQQDDBdvcGVuU1VTRSBTZWN1cmUgQm9vdCBDQTELMAkGA1UE
|
||||
BhMCREUxEjAQBgNVBAcMCU51cmVtYmVyZzEZMBcGA1UECgwQb3BlblNVU0UgUHJv
|
||||
amVjdDEhMB8GCSqGSIb3DQEJARYSYnVpbGRAb3BlbnN1c2Uub3JnMIICIjANBgkq
|
||||
hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAuqmSgrdlO0B96sOK5mJj1k4OetzmP6l8
|
||||
YKdy+HdzN/3bS97vfqIIqb0YCgzmJROSLsXv6WQReuAtKbftgla6R/dOvKU/CxCN
|
||||
z0uCbzuM+gN5Q7pSWifnm81QNDowFpxZlJBFvIP92zh5yWNEGqVzMN0jDjOFxLfh
|
||||
O1sx6W8YBOYzScWrlTKysH6uK79gWenwvh3nmkx+68PV08azmizG6As4IAPDqtd/
|
||||
w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KOjZHCiyZ4ehO7syle/EgQALVwKH4cVq6zIh4xUH4r9WvfdR5vkhhTgM/0
|
||||
nzzoBnFRnCUpcsLPj10246wVuLQcliZBeKjiV4xqrMe6cXX8crHvZqqJPZ2jMTGD
|
||||
eVIpVES12ZpMT7SbQbcDR1XgjqrL3U9vfcabdqLU60000ALvnDFNN0Sm7xhB+d3c
|
||||
sDIyJMwSfIb9jWApsB/En5uRCM++ruqjyFiqTCORo9gzaocw6gut6WYs2TOrZ2NO
|
||||
Tq4JNAFfCL/z0p8jdz1dJZmqpgFAlltKNNDWV6KlBPUAdxDEbIiuGoYweB+Zxed3
|
||||
BKdlrKGcH0ewPmzt4vVLCl2yFoODxjVtndXieDt/BWIYltMjqYU1qrrOdISHdeAG
|
||||
A24L/uxiU4Ej2bKKWNYtvrGMNLMUWBTx5afHMQnK9MD8Z6cpjccNaR0Pe9ZCBRGI
|
||||
xyUitlfnU604q1GfYdymiq4mUvSEgy3vbbsVBvcAKElN+hWpAeZbiWc/KcBWKMtp
|
||||
4aQ0yoLWDFkQNGU0rGazsu3hpOWta6mL
|
||||
-----END CERTIFICATE-----
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 29 03:20:48 UTC 2013 - glin@suse.com
|
||||
|
||||
- Embed openSUSE-UEFI-CA-Certificate.crt in shim
|
||||
- Rename shim-unsigned.efi to shim-opensuse.efi.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 18 10:06:13 UTC 2013 - glin@suse.com
|
||||
|
||||
|
10
shim.spec
10
shim.spec
@ -24,6 +24,7 @@ License: BSD-2-Clause
|
||||
Group: System/Boot
|
||||
Url: https://github.com/mjg59/shim
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source2: openSUSE-UEFI-CA-Certificate.crt
|
||||
# PATCH-FIX-SUSE shim-suse-build.patch glin@suse.com -- Adjust Makefile for the build service
|
||||
Patch0: shim-suse-build.patch
|
||||
# PATCH-FIX-UPSTREAM shim-local-key-sign-mokmanager.patch glin@suse.com -- Sign MokManager.efi with the local generated certificate
|
||||
@ -70,14 +71,15 @@ Authors:
|
||||
|
||||
%build
|
||||
chmod +x "make-certs"
|
||||
openssl x509 -in %{S:2} -outform DER -out openSUSE-UEFI-CA-Certificate.der
|
||||
# make sure cast warnings don't trigger post build check
|
||||
make 2>/dev/null
|
||||
make VENDOR_CERT_FILE=openSUSE-UEFI-CA-Certificate.der 2>/dev/null
|
||||
# make VENDOR_CERT_FILE=cert.der VENDOR_DBX_FILE=dbx
|
||||
mv shim.efi shim-unsigned.efi
|
||||
mv shim.efi shim-opensuse.efi
|
||||
|
||||
%install
|
||||
install -d %{buildroot}/%{_libdir}/efi
|
||||
install -m 444 shim-unsigned.efi %{buildroot}/%{_libdir}/efi
|
||||
install -m 444 shim-opensuse.efi %{buildroot}/%{_libdir}/efi
|
||||
install -m 444 MokManager.efi.signed %{buildroot}/%{_libdir}/efi/MokManager.efi
|
||||
|
||||
%clean
|
||||
@ -87,7 +89,7 @@ install -m 444 MokManager.efi.signed %{buildroot}/%{_libdir}/efi/MokManager.efi
|
||||
%defattr(-,root,root)
|
||||
%doc COPYRIGHT
|
||||
%dir %{_libdir}/efi
|
||||
%{_libdir}/efi/shim-unsigned.efi
|
||||
%{_libdir}/efi/shim-opensuse.efi
|
||||
%{_libdir}/efi/MokManager.efi
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user