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-07-07 15:09:13 +02:00
|
|
|
VERSION="1.20190620-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-07-07 15:09:13 +02:00
|
|
|
SHA256SUM="0c41af0a1ad254f5a2e5a2c5ac5e035cfe63518653d5ed9ad6b510c7ed978a8a"
|
2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS="initrd"
|
2019-03-31 15:13:18 +02:00
|
|
|
SUBPKG="linux linux-modules"
|
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
|
|
|
}
|