summaryrefslogtreecommitdiff
path: root/automated
diff options
context:
space:
mode:
Diffstat (limited to 'automated')
-rwxr-xr-xautomated/linux/kernel-compilation/kernel-compilation.sh7
-rw-r--r--automated/linux/kernel-compilation/kernel-compilation.yaml6
2 files changed, 6 insertions, 7 deletions
diff --git a/automated/linux/kernel-compilation/kernel-compilation.sh b/automated/linux/kernel-compilation/kernel-compilation.sh
index 5e5586e..7e5c2d1 100755
--- a/automated/linux/kernel-compilation/kernel-compilation.sh
+++ b/automated/linux/kernel-compilation/kernel-compilation.sh
@@ -6,7 +6,7 @@ OUTPUT="$(pwd)/output"
RESULT_FILE="${OUTPUT}/result.txt"
export RESULT_FILE
LOGFILE="${OUTPUT}/kernel-compilation.txt"
-VERSION='4.4.34'
+VERSION='4.4'
NPROC=$(nproc)
usage() {
@@ -37,9 +37,8 @@ create_out_dir "${OUTPUT}"
cd "${OUTPUT}"
# Download and extract Kernel tarball.
-major_version=$(echo "${VERSION}" | awk -F'.' '{print $1}')
-wget "https://cdn.kernel.org/pub/linux/kernel/v${major_version}.x/linux-${VERSION}.tar.xz"
-tar xf "linux-${VERSION}.tar.xz"
+wget "https://github.com/torvalds/linux/archive/v${VERSION}.tar.gz"
+tar xf "v${VERSION}.tar.gz"
cd "linux-${VERSION}"
# Compile Kernel with defconfig.
diff --git a/automated/linux/kernel-compilation/kernel-compilation.yaml b/automated/linux/kernel-compilation/kernel-compilation.yaml
index ef85afd..72da918 100644
--- a/automated/linux/kernel-compilation/kernel-compilation.yaml
+++ b/automated/linux/kernel-compilation/kernel-compilation.yaml
@@ -25,9 +25,9 @@ metadata:
- d05
params:
- # Specify longterm/stable Kernel version that availabe on:
- # https://www.kernel.org/
- VERSION: "4.4.34"
+ # Specify released Kernel version that availabe on:
+ # https://github.com/torvalds/linux/releases
+ VERSION: "4.4"
SKIP_INSTALL: "false"
run: