From 2caa426f770aee998a0ecf6df14819d0069c2a2c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 13 Jul 2020 16:38:47 -0400 Subject: [PATCH] Test builders again Signed-off-by: Peter Jones --- pesign-test-app.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pesign-test-app.spec b/pesign-test-app.spec index 6663980..a2e6676 100644 --- a/pesign-test-app.spec +++ b/pesign-test-app.spec @@ -47,9 +47,11 @@ getfacl /run/pesign || : ls -l /run/pesign/socket || : getfacl /run/pesign/socket || : -%pesign -s -i %{name}-unsigned.efi -o %{name}-signed.0.efi +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" -%pesign -s -i %{name}-unsigned.efi -o %{name}-signed.1.efi -n "/CN=fwupd-signer" +cp %{name}-unsigned.efi %{name}-unsigned.1.efi +%pesign -s -i %{name}-unsigned.0.efi -o %{name}-signed.1.efi -n "/CN=fwupd-signer" %install rm -rf %{buildroot}