diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2018-11-04 15:11:46 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2018-11-04 15:11:46 +0100 |
commit | 3044f2c4dcd592dddfc96b0b137729790f4e243f (patch) | |
tree | 09f41043da75414f9d3240b8701454ca9c6bf6ac /scripts/stable-update.sh | |
parent | ca65cfe0b5e0c76f69c627b21cac9a348572d182 (diff) | |
parent | 35809dfd7be321e9e16516f4314a1699df5bbd39 (diff) | |
download | kernel-3044f2c4dcd592dddfc96b0b137729790f4e243f.tar.gz kernel-3044f2c4dcd592dddfc96b0b137729790f4e243f.tar.xz kernel-3044f2c4dcd592dddfc96b0b137729790f4e243f.zip |
merge origin
Diffstat (limited to 'scripts/stable-update.sh')
-rwxr-xr-x | scripts/stable-update.sh | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/scripts/stable-update.sh b/scripts/stable-update.sh index 2cbda8a34..de29b00c0 100755 --- a/scripts/stable-update.sh +++ b/scripts/stable-update.sh @@ -47,20 +47,22 @@ if [ ! -f patch-$1.xz ]; then fi fi -if [ ! -f "patch-$1.sign" ]; then - wget "https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-$1.sign" - if [ ! $? -eq 0 ]; then - echo "Signature download failed" - exit 1 - fi -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/v4.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 +# 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 |