[opensuse-kernel] [PATCH] Sign aarch64 kernels (boo#1134303)
Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Cc: Andreas Faerber <afaerber@suse.de> Cc: Yousaf Kaukab <yousaf.kaukab@suse.com> Cc: Matthias Brugger <mbrugger@suse.com> --- This patch applies to master, stable and Leap 15.1 branches. It may be applied to SLE15-SP1 branch too. rpm/kernel-binary.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in index ebadc24c80..9e21e6777c 100644 --- a/rpm/kernel-binary.spec.in +++ b/rpm/kernel-binary.spec.in @@ -477,8 +477,12 @@ done # sign the modules, firmware and possibly the kernel in the buildservice BRP_PESIGN_FILES="" %if %CONFIG_EFI_STUB == "y" +%ifarch aarch64 +BRP_PESIGN_FILES="/boot/Image-%kernelrelease-%build_flavor" +%else BRP_PESIGN_FILES="/boot/vmlinuz-%kernelrelease-%build_flavor" %endif +%endif %if %CONFIG_MODULE_SIG == "y" BRP_PESIGN_FILES="$BRP_PESIGN_FILES *.ko" %endif -- 2.21.0 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Am 07.05.19 um 14:46 schrieb Guillaume GARDET:
Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
Cc: Andreas Faerber <afaerber@suse.de> Cc: Yousaf Kaukab <yousaf.kaukab@suse.com> Cc: Matthias Brugger <mbrugger@suse.com> --- This patch applies to master, stable and Leap 15.1 branches. It may be applied to SLE15-SP1 branch too.
Let's keep the discussion in one place: https://bugzilla.opensuse.org/show_bug.cgi?id=1134303 Thanks, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Andreas Färber
-
Guillaume GARDET