core/linux-raspberrypi to 5.10.25-2

This commit is contained in:
graysky 2021-03-22 16:14:50 -04:00
parent 86c2e1fc06
commit 0827f6ea65

View file

@ -11,7 +11,7 @@ _srcname=linux-${_commit}
_kernelname=${pkgbase#linux}
_desc="Raspberry Pi"
pkgver=5.10.25
pkgrel=1
pkgrel=2
arch=('armv6h' 'armv7h')
url="http://www.kernel.org/"
license=('GPL2')
@ -25,6 +25,7 @@ source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz"
'60-linux.hook'
'90-linux.hook'
0001-vc4-drm-vc4_plane-remove-subpixel-positioning-check.patch::https://patch-diff.githubusercontent.com/raw/raspberrypi/linux/pull/4215.patch
0002-vc4-drm-fix-source-offsets-with-drm_format_p030.patch::https://github.com/popcornmix/linux/commit/6f33f7fa8b60700a96a8fbd497efeb5c2e8bf2b9.patch
)
md5sums=('a4f3c64c40de2442cc06dc1e4ae6d9e9'
'9669d916a5929a2eedbd64477f83d99e'
@ -33,7 +34,8 @@ md5sums=('a4f3c64c40de2442cc06dc1e4ae6d9e9'
'86d4a35722b5410e3b29fc92dae15d4b'
'ce6c81ad1ad1f8b333fd6077d47abdaf'
'69e1db90d78f691dc446fe2ab94727eb'
'ce0949a5704dfcddc25382118600e813')
'ce0949a5704dfcddc25382118600e813'
'021c743bd96a27100c786ba10a202ceb')
prepare() {
cd "${srcdir}/${_srcname}"
@ -46,7 +48,9 @@ prepare() {
# don't run depmod on 'make install'. We'll do this ourselves in packaging
sed -i '2iexit 0' scripts/depmod.sh
# the following fix known issues with ffmpeg/kodi HW-decoding
patch -Np1 -i ../0001-vc4-drm-vc4_plane-remove-subpixel-positioning-check.patch
patch -Np1 -i ../0002-vc4-drm-fix-source-offsets-with-drm_format_p030.patch
}
build() {