summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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