From cd15b3e3e5187e80180bdd67c9fc94532d526c97 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 11 Jan 2021 21:54:01 +0100 Subject: Kernel: verify archive via sha256sum as gnupg2 does not support --locate-keys --- packages/linux-kernel/Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'packages') diff --git a/packages/linux-kernel/Jenkinsfile b/packages/linux-kernel/Jenkinsfile index 4d34dcba..d2848f6f 100644 --- a/packages/linux-kernel/Jenkinsfile +++ b/packages/linux-kernel/Jenkinsfile @@ -91,10 +91,8 @@ pipeline { dir(env.BASE_DIR) { sh ''' KERNEL_VER=\$(cat ../../data/defaults.json | jq -r .kernel_version) - gpg2 --locate-keys torvalds@kernel.org gregkh@kernel.org curl -OL https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VER}.tar.xz - curl -OL https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VER}.tar.sign - xz -cd linux-${KERNEL_VER}.tar.xz | gpg2 --verify linux-${KERNEL_VER}.tar.sign - + echo "b98ef209321a4e39ce98ca6b8745a2268bdd927fd74e4e2c50bc68d9a637880e linux-${KERNEL_VER}.tar.xz" | sha256sum --check if [ $? -ne 0 ]; then exit 1 fi -- cgit v1.2.3