diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2019-03-10 07:59:46 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2019-09-21 07:47:21 +0200 |
commit | 0cfddee26719f89ccfcd69291d465450ee21fc52 (patch) | |
tree | a1e39ce632acbd96adb5d66050b796b10e840690 | |
parent | 85863918b84f2c04d6e8920a74e2d8f2d63fc5ab (diff) | |
download | kernel-0cfddee26719f89ccfcd69291d465450ee21fc52.tar.gz kernel-0cfddee26719f89ccfcd69291d465450ee21fc52.tar.xz kernel-0cfddee26719f89ccfcd69291d465450ee21fc52.zip |
disable sign checking
-rwxr-xr-x | scripts/stable-update.sh | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/scripts/stable-update.sh b/scripts/stable-update.sh index 9055ae248..edfe70713 100755 --- a/scripts/stable-update.sh +++ b/scripts/stable-update.sh @@ -46,20 +46,22 @@ if [ ! -f patch-$1.xz ]; then fi fi -if [ ! -f "patch-$1.sign" ]; then - wget "https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$1.sign" - if [ ! $? -eq 0 ]; then - echo "Signature download failed" - exit 1 - fi -fi - -xzcat "patch-$1.xz" | gpg2 --verify "patch-$1.sign" - -if [ ! $? -eq 0 ]; then - echo "Patch file has invalid or untrusted signature!" - echo "See https://www.kernel.org/category/signatures.html" - exit 1 -fi +# This all needs to be updated for the new generation system +# +#if [ ! -f "patch-$1.sign" ]; then +# wget "https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$1.sign" +# if [ ! $? -eq 0 ]; then +# echo "Signature download failed" +# exit 1 +# fi +#fi +# +#xzcat "patch-$1.xz" | gpg2 --verify "patch-$1.sign" - +#if [ ! $? -eq 0 ]; then +# echo "Patch file has invalid or untrusted signature!" +# echo "See https://www.kernel.org/category/signatures.html" +# exit 1 +#fi grep $1 sources &> /dev/null if [ ! $? -eq 0 ]; then |