1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-24 20:10:42 +01:00
build/pkg/linux-rpi3/build
David Oberhollenzer c62d44b871 Bump Raspberry Pi 3 vendor kernel version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-07-07 15:09:13 +02:00

19 lines
662 B
Text
Executable file

# inherit functions from generic kernel package
source "$SCRIPTDIR/pkg/linux-lts/build"
VERSION="1.20190620-1"
SRCDIR="linux-raspberrypi-kernel_${VERSION}"
TARBALL="raspberrypi-kernel_${VERSION}.tar.gz"
URL="https://github.com/raspberrypi/linux/archive"
SHA256SUM="0c41af0a1ad254f5a2e5a2c5ac5e035cfe63518653d5ed9ad6b510c7ed978a8a"
DEPENDS="initrd"
SUBPKG="linux linux-modules"
check_update() {
local version=$(echo $VERSION | sed 's/-/./g')
curl --silent -L "https://github.com/raspberrypi/linux/releases" | \
grep -o "raspberrypi-kernel_[0-9.]*-[0-9]" | \
sed 's/raspberrypi-kernel_//g' | sed 's/-/./g' | \
verson_find_greatest "$version"
}