Accepting request 223204 from home:lnussel:branches:devel:openSUSE:Factory
- always clean up generated files that embed certificates (shim_cert.h shim.cer shim.crt) to make sure next build loop rebuilds them properly OBS-URL: https://build.opensuse.org/request/show/223204 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim?expand=0&rev=59
This commit is contained in:
parent
18c5d7ff47
commit
12d61956b5
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 20 10:06:47 UTC 2014 - lnussel@suse.de
|
||||||
|
|
||||||
|
- always clean up generated files that embed certificates
|
||||||
|
(shim_cert.h shim.cer shim.crt) to make sure next build loop
|
||||||
|
rebuilds them properly
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 17 09:58:56 UTC 2014 - glin@suse.com
|
Mon Feb 17 09:58:56 UTC 2014 - glin@suse.com
|
||||||
|
|
||||||
|
@ -134,6 +134,7 @@ for suffix in "${suffixes[@]}"; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
openssl x509 -in $cert -outform DER -out shim-$suffix.der
|
openssl x509 -in $cert -outform DER -out shim-$suffix.der
|
||||||
|
rm -f shim_cert.h shim.cer shim.crt
|
||||||
if [ -z "$cert2" ]; then
|
if [ -z "$cert2" ]; then
|
||||||
# create empty local cert file, we don't need a local key pair as we
|
# create empty local cert file, we don't need a local key pair as we
|
||||||
# sign the mokmanager with our vendor key
|
# sign the mokmanager with our vendor key
|
||||||
@ -141,7 +142,6 @@ for suffix in "${suffixes[@]}"; do
|
|||||||
touch shim.cer
|
touch shim.cer
|
||||||
else
|
else
|
||||||
cp $cert2 shim.crt
|
cp $cert2 shim.crt
|
||||||
rm -f shim.cer
|
|
||||||
fi
|
fi
|
||||||
# make sure cast warnings don't trigger post build check
|
# make sure cast warnings don't trigger post build check
|
||||||
make EFI_PATH=/usr/lib64 VENDOR_CERT_FILE=shim-$suffix.der shim.efi 2>/dev/null
|
make EFI_PATH=/usr/lib64 VENDOR_CERT_FILE=shim-$suffix.der shim.efi 2>/dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user