diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2019-03-10 07:59:46 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2019-03-10 07:59:46 +0100 |
commit | 5fd41e2ef758b0a8b75564f63a4a9ce3cf12f6f3 (patch) | |
tree | 8f1a83346af6e7c31c24b7700fc89fb6b81a25ce /scripts | |
parent | a7f07a58c744263d83f2e821cffff984a22f9068 (diff) | |
download | kernel-5fd41e2ef758b0a8b75564f63a4a9ce3cf12f6f3.tar.gz kernel-5fd41e2ef758b0a8b75564f63a4a9ce3cf12f6f3.tar.xz kernel-5fd41e2ef758b0a8b75564f63a4a9ce3cf12f6f3.zip |
disable sign checkingkernel-5.0.1-350.vanilla.knurd.1.fc30kernel-5.0.1-350.vanilla.knurd.1.fc29kernel-5.0.1-350.vanilla.knurd.1.fc28
Diffstat (limited to 'scripts')
-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 |