rpi-kernel: update to 5.4.83.

* install correct set of dtb, thanks to @ahesford
* adopt, as suggested by former maintainer @pbui
This commit is contained in:
Piraty 2021-01-19 15:24:46 +01:00
parent 465c515ab1
commit da7eaa8865
1 changed files with 6 additions and 6 deletions

View File

@ -5,19 +5,19 @@
#
# https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=269769
_githash="e82816db535e0489ffd1c31cd9b7e4969fce4171"
_githash="76c49e60e742d0bebd798be972d67dd3fd007691"
_gitshort="${_githash:0:7}"
pkgname=rpi-kernel
version=5.4.68
version=5.4.83
revision=1
wrksrc="linux-${_githash}"
maintainer="Peter Bui <pbui@github.bx612.space>"
maintainer="Piraty <piraty1@inbox.ru>"
homepage="http://www.kernel.org"
license="GPL-2.0-only"
short_desc="The Linux kernel for Raspberry Pi (${version%.*} series [git ${_gitshort}])"
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
checksum=e0dc98befadb4c8c66aa0e73d9d79f10b20e29fb758ab870a0c6c708e3a0abb7
checksum=4a98ea0d68c6e74d479789c12fc97619c872cb2607ae87a881a9491c1c3fbc35
python_version=2
_kernver="${version}_${revision}"
@ -128,10 +128,10 @@ do_install() {
# Install device tree blobs
make ${makejobs} ARCH=${_arch} INSTALL_DTBS_PATH=${DESTDIR}/boot dtbs_install
#move rpi3's dtb that ended up in /boot/broadcom
# move dtb that ended up in /boot/broadcom
case "$XBPS_TARGET_MACHINE" in
aarch64*)
mv ${DESTDIR}/boot/broadcom/bcm2710-rpi-3-b.dtb ${DESTDIR}/boot
mv ${DESTDIR}/boot/broadcom/bcm{2710,2837}-*.dtb ${DESTDIR}/boot
;;
esac