2018-10-19 19:04:00 +02:00
|
|
|
# inherit functions from generic kernel package
|
|
|
|
source "$SCRIPTDIR/pkg/linux/build"
|
|
|
|
|
2018-11-27 14:07:33 +01:00
|
|
|
VERSION="1.20181112-1"
|
2017-12-09 21:51:48 +01:00
|
|
|
SRCDIR="linux-raspberrypi-kernel_${VERSION}"
|
2018-02-15 11:33:05 +01:00
|
|
|
TARBALL="raspberrypi-kernel_${VERSION}.tar.gz"
|
|
|
|
URL="https://github.com/raspberrypi/linux/archive"
|
2018-11-27 14:07:33 +01:00
|
|
|
SHA256SUM="15919f062267325c2afc65eeebd26fa9bdc34dc7ddb6b5018d4e0ca036c114b3"
|
2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS="initrd"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
2018-05-06 17:23:31 +02:00
|
|
|
check_update() {
|
2018-05-25 14:32:54 +02:00
|
|
|
local version=$(echo $VERSION | sed 's/-/./g')
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
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"
|
2018-07-15 16:19:44 +02:00
|
|
|
}
|