diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-11 21:54:01 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-11 21:54:01 +0100 |
commit | cd15b3e3e5187e80180bdd67c9fc94532d526c97 (patch) | |
tree | 4381103d3e5d5dee7e3a2a203a7e44cab1425c8a | |
parent | ee9584f3cc08391def396f33131fc10ffca2064e (diff) | |
download | vyos-build-cd15b3e3e5187e80180bdd67c9fc94532d526c97.tar.gz vyos-build-cd15b3e3e5187e80180bdd67c9fc94532d526c97.zip |
Kernel: verify archive via sha256sum as gnupg2 does not support --locate-keys
-rw-r--r-- | packages/linux-kernel/Jenkinsfile | 4 |
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 |