|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Summary: Simple pesign test target
|
|
|
|
|
Name: pesign-test-app
|
|
|
|
|
Version: 5
|
|
|
|
|
Release: 20%{?dist}
|
|
|
|
|
Release: 21%{?dist}
|
|
|
|
|
License: GPLv2
|
|
|
|
|
URL: https://github.com/vathpela/pesign-test-app
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
@ -50,9 +50,9 @@ 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 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"
|
|
|
|
|
%define pe_signing_cert fwupd-signer
|
|
|
|
|
cp %{name}-unsigned.efi %{name}-unsigned.1.efi
|
|
|
|
|
%pesign -s -i %{name}-unsigned.1.efi -o %{name}-signed.1.efi -n "fwupd-signer"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
@ -79,6 +79,9 @@ for x in %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.* ; do
|
|
|
|
|
%{_datadir}/%{name}-%{version}/%{name}-signed*.efi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jul 13 2020 Peter Jones <pjones@redhat.com> - 5-21
|
|
|
|
|
- Test builders again again
|
|
|
|
|
|
|
|
|
|
* Mon Jul 13 2020 Peter Jones <pjones@redhat.com> - 5-20
|
|
|
|
|
- Test builders again
|
|
|
|
|
|
|
|
|
|