summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2019-03-10 23:07:35 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2019-03-10 23:07:35 -0500
commit900e106773deca1e2c1ddc59c5025bfa70b603f3 (patch)
tree6fe712605819ccad5121eb6ef61d812fc150c8a3 /scripts
parent69bc19100964a54f0aace7f1ed5945e871f51bd7 (diff)
downloadkernel-900e106773deca1e2c1ddc59c5025bfa70b603f3.tar.gz
kernel-900e106773deca1e2c1ddc59c5025bfa70b603f3.tar.xz
kernel-900e106773deca1e2c1ddc59c5025bfa70b603f3.zip
Linux-v5.0.1
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/stable-update.sh17
1 files changed, 1 insertions, 16 deletions
diff --git a/scripts/stable-update.sh b/scripts/stable-update.sh
index 2ea5fb78b..26c81b937 100755
--- a/scripts/stable-update.sh
+++ b/scripts/stable-update.sh
@@ -35,28 +35,13 @@ if [ -z $VERSION ]; then
fi
if [ ! -f patch-$1.xz ]; then
- wget https://cdn.kernel.org/pub/linux/kernel/v4.x/patch-$1.xz
+ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-$1.xz
if [ ! $? -eq 0 ]; then
echo "Download fail"
exit 1
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
-
-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
fedpkg upload patch-$1.xz