Sync up stabilization with f29

This commit is contained in:
Jeremy Cline 2018-10-23 14:36:56 -04:00
commit 764628643c
No known key found for this signature in database
GPG key ID: 9223308FA9B246DB
10852 changed files with 20070 additions and 29042 deletions

View file

@ -42,20 +42,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