Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Added SHA256 checksum for the Linux kernel download |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
5b7f948afb7d776b8d8fadd1e2a826d7 |
| User & Date: | rkeene 2016-12-21 19:53:29 |
Context
|
2017-01-10
| ||
| 13:39 | Added SHA256 to many downloads check-in: c2e33b6d3e user: rkeene tags: trunk | |
|
2016-12-21
| ||
| 19:53 | Added SHA256 checksum for the Linux kernel download check-in: 5b7f948afb user: rkeene tags: trunk | |
| 19:53 | Added support for SHA256 checksums check-in: 8e05e7b5e2 user: rkeene tags: trunk | |
Changes
Changes to scripts/post/00-linux-kernel.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#! /bin/bash
# URLs and versions
LINUX_VERS='2.6.35.4'
LINUX_VERS_SHORT="$(echo "${LINUX_VERS}" | cut -f 1-2 -d '.')"
LINUX_URL="http://www.kernel.org/pub/linux/kernel/v${LINUX_VERS_SHORT}/linux-${LINUX_VERS}.tar.bz2"
LINUX_TARBALL="src/linux-${LINUX_VERS}.tar.bz2"
LINUX_DIR="linux-${LINUX_VERS}"
# Main script
CCNAME="$1"
CCDIR="$2"
PREFIX="$3"
STAGE="$4"
| > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#! /bin/bash
# URLs and versions
LINUX_VERS='2.6.35.4'
LINUX_VERS_SHORT="$(echo "${LINUX_VERS}" | cut -f 1-2 -d '.')"
LINUX_URL="http://www.kernel.org/pub/linux/kernel/v${LINUX_VERS_SHORT}/linux-${LINUX_VERS}.tar.bz2"
LINUX_TARBALL="src/linux-${LINUX_VERS}.tar.bz2"
LINUX_TARBALL_SHA256="1f2c0ef718398fe04d925d6c513ff82c763a3dbaf53e8cd4cb6ea52a199765d6"
LINUX_DIR="linux-${LINUX_VERS}"
# Main script
CCNAME="$1"
CCDIR="$2"
PREFIX="$3"
STAGE="$4"
|
| ︙ | ︙ | |||
43 44 45 46 47 48 49 |
# Download source
. 'scripts/common'
# Inform the user of what we are doing
echo " * Building Linux kernel headers for ${arch}"
if [ ! -d "${LINUX_DIR}" ]; then
| | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# Download source
. 'scripts/common'
# Inform the user of what we are doing
echo " * Building Linux kernel headers for ${arch}"
if [ ! -d "${LINUX_DIR}" ]; then
download "${LINUX_URL}" "${LINUX_TARBALL}" "${LINUX_TARBALL_SHA256}" || exit 1
bzip2 -dc "${LINUX_TARBALL}" | tar -xf -
fi
cp -rp "${LINUX_DIR}" "${LINUX_DIR}-${CCNAME}"
(
|
| ︙ | ︙ |