diff options
Diffstat (limited to 'scripts/stable-update.sh')
-rwxr-xr-x | scripts/stable-update.sh | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/scripts/stable-update.sh b/scripts/stable-update.sh index 5d9e49fa2..2e2d974b6 100755 --- a/scripts/stable-update.sh +++ b/scripts/stable-update.sh @@ -48,20 +48,21 @@ 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 [ ! -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 +# 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 +# fi + grep $1 sources &> /dev/null if [ ! $? -eq 0 ]; then |