summaryrefslogtreecommitdiff
path: root/kiss/kernel/download_kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kiss/kernel/download_kernel')
-rwxr-xr-xkiss/kernel/download_kernel9
1 files changed, 9 insertions, 0 deletions
diff --git a/kiss/kernel/download_kernel b/kiss/kernel/download_kernel
new file mode 100755
index 0000000..727f2ab
--- /dev/null
+++ b/kiss/kernel/download_kernel
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+VERSION=$(cat version)
+
+cd sources/
+curl -O "https://linux-libre.fsfla.org/pub/linux-libre/releases/$VERSION/linux-libre-$VERSION.tar.xz"
+curl -O "https://linux-libre.fsfla.org/pub/linux-libre/releases/$VERSION/linux-libre-$VERSION.tar.xz.sign"
+
+gpg --verify linux-libre-$VERSION.tar.xz.sign