From fd0314c79d6130d8aaf39168e898c8bea9d2591c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mar 06 2018 16:09:53 +0000 Subject: Nerf the hell out of all the checks to make sure I got this process right. sigh. Signed-off-by: Peter Jones --- diff --git a/shim.spec b/shim.spec index 6bec1fc..d186dd6 100644 --- a/shim.spec +++ b/shim.spec @@ -34,13 +34,13 @@ Source13: shimx64-signed.efi %global shimveraa64 13-3.fc27 %ifarch x86_64 -BuildRequires: shim-unsigned-x64 = %{shimverx64} -BuildRequires: shim-unsigned-ia32 = %{shimveria32} +#BuildRequires: shim-unsigned-x64 = %%{shimverx64} +#BuildRequires: shim-unsigned-ia32 = %%{shimveria32} %global shimdirx64 %{_datadir}/shim/%{shimverx64}/x64 %global shimdiria32 %{_datadir}/shim/%{shimveria32}/ia32 %endif %ifarch aarch64 -BuildRequires: shim-unsigned-aarch64 = %{shimveraa64} +#BuildRequires: shim-unsigned-aarch64 = %%{shimveraa64} %global shimdiraa64 %{_datadir}/shim/%{shimveraa64}/aa64 %endif BuildRequires: pesign >= 0.112-20.fc27 @@ -124,9 +124,9 @@ mkdir shim-%{version} # -c # signed by UEFI CA? # -i %define define_build(a:A:b:c:i:d:) \ -if [ "%{-c*}" = "yes" ]; then \ - %{expand:%%hash -i %{-i*} -a %{-a*} -d %{-d*}} \ -fi \ +#if [ "%%{-c*}" = "yes" ]; then \ +# %%{expand:%%%%hash -i %%{-i*} -a %%{-a*} -d %%{-d*}} \ +#fi \ cp %{-i*} shim%{-a*}.efi \ if [ "%{-b*}" = "yes" ]; then \ %{expand:%%distrosign -b shim -a %{-a*} -d %{-d*}} \