From 36fe3930e15efe8a9db40b6f192792694c3df07f Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 6 Jul 2020 14:20:10 -0400 Subject: [PATCH] Build again Signed-off-by: Peter Jones --- pesign-test-app.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pesign-test-app.spec b/pesign-test-app.spec index 6a8c62d..bd789ee 100644 --- a/pesign-test-app.spec +++ b/pesign-test-app.spec @@ -55,7 +55,10 @@ mv %{name}-signed.efi %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed %check ls -la /var/run/pesign || : -%ifarch x86_64 +%ifarch %{x86} +# for display in the build log +pesign -l -i %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi +# to test the actual output pesign -l -i %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi | grep -c -q "^Signing time: $(date +%%a\ %%b\ %%d,\ %%Y)$" pesign -l -i %{buildroot}/%{_datadir}/%{name}-%{version}/%{name}-signed.efi | grep -c -q '^The signer.s common name is Fedora Secure Boot Signer$' %endif