1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-08-31 04:18:38 +00:00

Remove other keyservers

This commit is contained in:
niusmallnan
2018-04-03 14:35:06 +08:00
parent 5b14ecb057
commit 0fa2648f30

View File

@@ -16,9 +16,7 @@ curl -sL ${KERNEL_URL}${KERNEL_SIGN} > ${KERNEL_SIGN}
# grab gregkh's stable signing key
GPG_KEY="6092693E"
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys $GPG_KEY \
|| gpg2 --keyserver pgp.mit.edu --recv-keys $GPG_KEYS \
|| gpg2 --keyserver keyserver.pgp.com --recv-keys $GPG_KEYS
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys $GPG_KEY
if ! xz -cd ${KERNEL_TAR} | gpg2 --verify ${KERNEL_SIGN} - ; then
echo "ERROR: ${KERNEL_TAR} signing error" 1>&2