2018-10-19 19:04:00 +02:00
|
|
|
# inherit functions from generic kernel package
|
2019-03-31 14:42:09 +02:00
|
|
|
source "$SCRIPTDIR/pkg/linux-lts/build"
|
2018-10-19 19:04:00 +02:00
|
|
|
|
2019-03-31 12:27:18 +02:00
|
|
|
VERSION="1.20190215-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"
|
2019-03-31 12:27:18 +02:00
|
|
|
SHA256SUM="57ec23478db884eafe8fefd0bc1dbf557e93eda36fda1fe6a1db26e4b3f6fd12"
|
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
|
|
|
}
|