core/linux-raspberrypi4 to 5.4.83-2

Backport a fix from rpi-5.10.y branch which is required in order for
seeking to work properly for non-HEVC videos when using HW accel decoding.

This can be removed once we swtich over to the rpi-5.10.y branch.

See: 579551ef13
This commit is contained in:
graysky 2020-12-22 12:32:26 -05:00
parent aad1798ffa
commit 540944f07d

View file

@ -11,7 +11,7 @@ _srcname=linux-${_commit}
_kernelname=${pkgbase#linux} _kernelname=${pkgbase#linux}
_desc="Raspberry Pi 4" _desc="Raspberry Pi 4"
pkgver=5.4.83 pkgver=5.4.83
pkgrel=1 pkgrel=2
arch=('armv7h' 'aarch64') arch=('armv7h' 'aarch64')
url="http://www.kernel.org/" url="http://www.kernel.org/"
license=('GPL2') license=('GPL2')
@ -22,7 +22,8 @@ source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz"
'linux.preset' 'linux.preset'
'60-linux.hook' '60-linux.hook'
'90-linux.hook' '90-linux.hook'
0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch) 0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch
PR4002.patch::https://patch-diff.githubusercontent.com/raw/raspberrypi/linux/pull/4002.patch)
source_armv7h=('config' 'config.txt') source_armv7h=('config' 'config.txt')
source_aarch64=('config8' 'config8.txt') source_aarch64=('config8' 'config8.txt')
md5sums=('6c8790707ffc9440e1bcae20b697e9ec' md5sums=('6c8790707ffc9440e1bcae20b697e9ec'
@ -30,7 +31,8 @@ md5sums=('6c8790707ffc9440e1bcae20b697e9ec'
'86d4a35722b5410e3b29fc92dae15d4b' '86d4a35722b5410e3b29fc92dae15d4b'
'ce6c81ad1ad1f8b333fd6077d47abdaf' 'ce6c81ad1ad1f8b333fd6077d47abdaf'
'69e1db90d78f691dc446fe2ab94727eb' '69e1db90d78f691dc446fe2ab94727eb'
'f66a7ea3feb708d398ef57e4da4815e9') 'f66a7ea3feb708d398ef57e4da4815e9'
'efb1191fd272d3db49fc19e034408a1c')
md5sums_armv7h=('0fc39bc5d19ba8503011ab5e033de67d' md5sums_armv7h=('0fc39bc5d19ba8503011ab5e033de67d'
'7c6b37a1353caccf6d3786bb4161c218') '7c6b37a1353caccf6d3786bb4161c218')
md5sums_aarch64=('80fb4289dfeca2f541416e5cf0dd3a81' md5sums_aarch64=('80fb4289dfeca2f541416e5cf0dd3a81'
@ -52,6 +54,10 @@ prepare() {
sed -i '2iexit 0' scripts/depmod.sh sed -i '2iexit 0' scripts/depmod.sh
patch -Np1 -i ../0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch patch -Np1 -i ../0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch
# this PR is required for correct seeking of non-HEVC videos on 5.4.y kernels
# see: https://github.com/popcornmix/xbmc/commit/579551ef130f80963a857f0af3a2a984b112d26c
patch -Np1 -i ../PR4002.patch
} }
build() { build() {