diff options
author | Chase Qi <chase.qi@linaro.org> | 2018-04-03 09:00:23 +0000 |
---|---|---|
committer | Chase Qi <chase.qi@linaro.org> | 2018-04-03 09:00:23 +0000 |
commit | 81d682b97a1f84c91bf7e14d7c7beb90b9d30a2f (patch) | |
tree | 792de382abd1fd72867c834f11afcad0c7518144 | |
parent | 9dcf6710b44579df7a5a030bde110b309f55f14f (diff) |
Revert "linux: kernel-compilation: use kernel release tarball from github"
This reverts commit 9dcf6710b44579df7a5a030bde110b309f55f14f.
Change-Id: I2cc7b06d0f5e8743056ad559cf04e643bd05991f
-rwxr-xr-x | automated/linux/kernel-compilation/kernel-compilation.sh | 7 | ||||
-rw-r--r-- | automated/linux/kernel-compilation/kernel-compilation.yaml | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/automated/linux/kernel-compilation/kernel-compilation.sh b/automated/linux/kernel-compilation/kernel-compilation.sh index 7e5c2d15..5e5586e7 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' +VERSION='4.4.34' NPROC=$(nproc) usage() { @@ -37,8 +37,9 @@ create_out_dir "${OUTPUT}" cd "${OUTPUT}" # Download and extract Kernel tarball. -wget "https://github.com/torvalds/linux/archive/v${VERSION}.tar.gz" -tar xf "v${VERSION}.tar.gz" +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" 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 72da9185..ef85afd4 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 released Kernel version that availabe on: - # https://github.com/torvalds/linux/releases - VERSION: "4.4" + # Specify longterm/stable Kernel version that availabe on: + # https://www.kernel.org/ + VERSION: "4.4.34" SKIP_INSTALL: "false" run: |