Try naming the cert differently

Signed-off-by: Peter Jones <pjones@redhat.com>
rawhide
Peter Jones 4 years ago
parent 123aa50363
commit 12215e9f48

@ -52,9 +52,9 @@ getfacl /run/pesign/socket || :
#%%define pe_signing_cert Fedora Secure Boot Signer
if true ; then
cp %{name}-unsigned.efi bzImage.signed
%pesign -s -i bzImage.signed -o bzImage.signed -a redhatsecurebootca1.cer -c redhatsecureboot301.cer -n redhatsecureboot301
%define pe_signing_cert /CN=Fedora Secure Boot Signer
%pesign -s -i bzImage.signed -o bzImage.signed -a redhatsecurebootca5.cer -c redhatsecureboot501.cer -n redhatsecureboot501
%define pe_signing_cert /CN=Fedora Secure Boot Signer
%pesign -s -i bzImage.signed -o bzImage.signed -a redhatsecurebootca1.cer -c redhatsecureboot301.cer -n redhatsecureboot301
mv bzImage.signed %{name}-signed.efi
else
cp %{name}-unsigned.efi %{name}-unsigned.0.efi

Loading…
Cancel
Save