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