From 68fa0693b03a84df7b1944df4b7617de75e749e5 Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Mar 02 2022 21:19:43 +0000 Subject: kernel-binary.spec: Also exclude the kernel signing key from devel package. There is a check in OBS that fails when it is included. Also the key is not reproducible. Fixes: bb988d4625a3 ("kernel-binary: Do not include sourcedir in certificate path.") Signed-off-by: Michal Suchanek --- diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in index d7c720b..9f2db74 100644 --- a/rpm/kernel-binary.spec.in +++ b/rpm/kernel-binary.spec.in @@ -877,6 +877,7 @@ if [ %CONFIG_MODULES = y ]; then done tar --exclude=\*.ipa-clones --exclude=.config.old --exclude=.kernel-binary.spec.buildenv \ + --exclude=.kernel_signing_key.pem --exclude=.kernel.genkey \ -cf - -T %my_builddir/obj-files | \ tar -xf - -C %rpm_install_dir/%cpu_arch_flavor # bnc#507084