summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaura Abbott <labbott@redhat.com>2019-11-20 12:46:22 -0500
committerLaura Abbott <labbott@redhat.com>2019-11-20 12:46:22 -0500
commit3d93b18d2615522f0cb8e4d95c74f14f6a3b60fc (patch)
tree539e3c926a1e9240d12984673e79fc195d6467d5
parenteb5fbf2f84f557ecda2ea823a3e474e565060708 (diff)
downloadkernel-3d93b18d2615522f0cb8e4d95c74f14f6a3b60fc.tar.gz
kernel-3d93b18d2615522f0cb8e4d95c74f14f6a3b60fc.tar.xz
kernel-3d93b18d2615522f0cb8e4d95c74f14f6a3b60fc.zip
Drop the Fedora checks around pesign
Now that we are packaging the certificates, there's no reason to have the extra check. pesign will take care of doing the right thing behind the scenes
-rw-r--r--kernel.spec4
1 files changed, 0 insertions, 4 deletions
diff --git a/kernel.spec b/kernel.spec
index ef0c936c1..3cf27d74a 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1600,12 +1600,8 @@ BuildKernel() {
fi
%ifarch x86_64 aarch64
- %if 0%{?fedora}
- %pesign -s -i $KernelImage -o vmlinuz.signed
- %else
%pesign -s -i $SignImage -o vmlinuz.signed -a %{secureboot_ca} -c %{secureboot_key} -n %{pesign_name}
%endif
- %endif
%ifarch s390x ppc64le
if [ -x /usr/bin/rpm-sign ]; then
rpm-sign --key "%{pesign_name}" --lkmsign $SignImage --output vmlinuz.signed