From 01291bf35bbb146d4baad7fce4f68d2c1349d216 Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Wed, 25 Oct 2017 00:02:27 -0400 Subject: [PATCH] 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 --- srcpkgs/rpi-kernel/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/rpi-kernel/template b/srcpkgs/rpi-kernel/template index 993f35f29b6..c2066eb2398 100644 --- a/srcpkgs/rpi-kernel/template +++ b/srcpkgs/rpi-kernel/template @@ -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 " @@ -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