From c0cacb9559e62308144d98369b8fc51f9199854f Mon Sep 17 00:00:00 2001 From: SolidHal Date: Tue, 15 Oct 2019 06:43:50 -0700 Subject: [PATCH] Fixup kernel signature verification --- scripts/buildKernel.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/buildKernel.sh b/scripts/buildKernel.sh index 7d9cd32..c12cce8 100755 --- a/scripts/buildKernel.sh +++ b/scripts/buildKernel.sh @@ -44,9 +44,11 @@ cd .. # build Linux-libre, with ath9k_htc [ ! -f linux-libre-$KVER-gnu.tar.lz ] && wget https://www.linux-libre.fsfla.org/pub/linux-libre/releases/$KVER-gnu/linux-libre-$KVER-gnu.tar.lz -[ ! -f linux-libre-$KVER-gnu.tar.lz ] && wget https://www.linux-libre.fsfla.org/pub/linux-libre/releases/$KVER-gnu/linux-libre-$KVER-gnu.tar.lz.sign +[ ! -f linux-libre-$KVER-gnu.tar.lz.sign ] && wget https://www.linux-libre.fsfla.org/pub/linux-libre/releases/$KVER-gnu/linux-libre-$KVER-gnu.tar.lz.sign -gpg --import $RESOURCES/linux-libre-signing-key.gpg --verify linux-libre-$KVER-gnu.tar.lz.sign +#verify the signature +gpg --import $RESOURCES/linux-libre-signing-key.gpg +gpg --verify linux-libre-$KVER-gnu.tar.lz.sign linux-libre-$KVER-gnu.tar.lz [ ! -d linux-$KVER ] && tar --lzip -xvf linux-libre-$KVER-gnu.tar.lz && FRESH=true cd linux-$KVER