rpi-kernel: update to 4.9.58 (#8522)

Replace mkknlimg with cp as it is deprecated and leads to broken
kernels:

    https://github.com/raspberrypi/linux/issues/2239
This commit is contained in:
Peter Bui 2017-10-25 00:02:27 -04:00 committed by Juan RP
parent fabbd967b8
commit 01291bf35b
1 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'rpi-kernel'
#
_githash="6f54be87ea3626536a446e14bdbad9cffd650e1a"
_githash="8f34d03766cb1e4d29b3fd00cbc8e0e70e63e18a"
_gitshort="${_githash:0:7}"
pkgname=rpi-kernel
version=4.9.56
version=4.9.58
revision=1
wrksrc="linux-${_githash}"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -12,7 +12,7 @@ homepage="http://www.kernel.org"
license="GPL-2"
short_desc="The Linux kernel for Raspberry Pi (${version%.*} series [git ${_gitshort}])"
distfiles="https://github.com/raspberrypi/linux/archive/${_githash}.tar.gz"
checksum=4b408dfce16489c58147439602a69e059d36d507f908f7f91a7f4a4c6b0586dc
checksum=8dcd0c22e53d0c31e756161d48b80fc2089d7c99cf1e5892d81ba6a7fc1fa388
_kernver="${version}_${revision}"
@ -81,10 +81,10 @@ do_install() {
# Generate kernel.img and install it to destdir.
case "$XBPS_TARGET_MACHINE" in
armv7l*)
scripts/mkknlimg --dtok arch/arm/boot/zImage ${DESTDIR}/boot/kernel7.img
cp arch/arm/boot/zImage ${DESTDIR}/boot/kernel7.img
;;
armv6l*)
scripts/mkknlimg --dtok arch/arm/boot/zImage ${DESTDIR}/boot/kernel.img
cp arch/arm/boot/zImage ${DESTDIR}/boot/kernel.img
;;
esac