pesign: Apparently opensc got updated and the token name changed

All the kernel builds started failing yesterday because the signing
token could not be found. Update the token name in the macro shipped by
pesign.
This commit is contained in:
Jeremy Cline 2020-02-18 16:37:53 -05:00 committed by Peter Jones
parent 6666916c12
commit e9b8bb7577

View File

@ -17,7 +17,7 @@ index 69280e9..22a3ee6 100644
%__pesign_token %{nil}%{?pe_signing_token:-t "%{pe_signing_token}"} %__pesign_token %{nil}%{?pe_signing_token:-t "%{pe_signing_token}"}
%__pesign_cert %{!?pe_signing_cert:"Red Hat Test Certificate"}%{?pe_signing_cert:"%{pe_signing_cert}"} %__pesign_cert %{!?pe_signing_cert:"Red Hat Test Certificate"}%{?pe_signing_cert:"%{pe_signing_cert}"}
+%__pesign_client_token %{!?pe_signing_token:"Fedora Signer (OpenSC Card)"}%{?pe_signing_token:"%{pe_signing_token}"} +%__pesign_client_token %{!?pe_signing_token:"OpenSC Card (Fedora Signer)"}%{?pe_signing_token:"%{pe_signing_token}"}
+%__pesign_client_cert %{!?pe_signing_cert:"/CN=Fedora Secure Boot Signer"}%{?pe_signing_cert:"%{pe_signing_cert}"} +%__pesign_client_cert %{!?pe_signing_cert:"/CN=Fedora Secure Boot Signer"}%{?pe_signing_cert:"%{pe_signing_cert}"}
+ +
%_pesign /usr/bin/pesign %_pesign /usr/bin/pesign