1.1--- a/scripts/get-linux.sh Thu Nov 09 22:27:18 2023 -0500
1.2+++ b/scripts/get-linux.sh Sun Nov 19 21:07:23 2023 -0500
1.3@@ -1,6 +1,6 @@
1.4 #!/usr/bin/bash
1.5-# https://git.kernel.org/pub/scm/linux/kernel/git/mricon/korg-helpers.git/tree/get-verified-tarball
1.6-# get-verified-tarball
1.7+# get-linux
1.8+# from https://git.kernel.org/pub/scm/linux/kernel/git/mricon/korg-helpers.git/tree/get-verified-tarball
1.9 # --------------------
1.10 # Get Linux kernel tarball and cryptographically verify it,
1.11 # retrieving the PGP keys using the Web Key Directory (WKD)
1.12@@ -9,7 +9,7 @@
1.13 # Pass the kernel version as the only parameter, or
1.14 # we'll grab the latest stable kernel.
1.15 #
1.16-# Example: ./get-verified-tarball 4.4.145
1.17+# Example: ./get-linux 4.4.145
1.18 #
1.19 # Configurable parameters
1.20 # -----------------------
1.21@@ -101,8 +101,9 @@
1.22 exit 1
1.23 fi
1.24
1.25-# Let's make a safe temporary directory for intermediates
1.26-TMPDIR=$(mktemp -d ${TARGETDIR}/linux-tarball-verify.XXXXXXXXX.untrusted)
1.27+# NOTE 2023-11-19: we make a folder in /tmp/ due to a strange bug
1.28+# encountered when using the TARGETDIR. Need to test on
1.29+TMPDIR=$(mktemp -d)
1.30 echo "Using TMPDIR=${TMPDIR}"
1.31 # Are we using a keyring?
1.32 if [[ -z ${USEKEYRING} ]]; then