|
|
|
@ -50,7 +50,7 @@ getfacl /run/pesign/socket || :
|
|
|
|
|
|
|
|
|
|
cp %{name}-unsigned.efi %{name}-unsigned.0.efi
|
|
|
|
|
%pesign -s -i %{name}-unsigned.0.efi -o %{name}-signed.0.efi
|
|
|
|
|
%define pe_signing_cert /CN=fwupd-signer
|
|
|
|
|
%define pe_signing_cert 'OpenSC Card (Fedora Signer):fwupd-signer'
|
|
|
|
|
cp %{name}-unsigned.efi %{name}-unsigned.1.efi
|
|
|
|
|
%pesign -s -i %{name}-unsigned.1.efi -o %{name}-signed.1.efi -n "/CN=fwupd-signer"
|
|
|
|
|
|
|
|
|
|