summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-11 21:54:01 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-11 21:54:01 +0100
commitcd15b3e3e5187e80180bdd67c9fc94532d526c97 (patch)
tree4381103d3e5d5dee7e3a2a203a7e44cab1425c8a /packages
parentee9584f3cc08391def396f33131fc10ffca2064e (diff)
downloadvyos-build-cd15b3e3e5187e80180bdd67c9fc94532d526c97.tar.gz
vyos-build-cd15b3e3e5187e80180bdd67c9fc94532d526c97.zip
Kernel: verify archive via sha256sum as gnupg2 does not support --locate-keys
Diffstat (limited to 'packages')
-rw-r--r--packages/linux-kernel/Jenkinsfile4
1 files changed, 1 insertions, 3 deletions
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