linux5.10: update to 5.10.132.

This commit is contained in:
Đoàn Trần Công Danh 2022-07-24 08:38:36 +07:00
parent 335634a5fb
commit f9afc568d0
1 changed files with 12 additions and 5 deletions

View File

@ -1,15 +1,18 @@
# Template file for 'linux5.10'
pkgname=linux5.10
version=5.10.130
revision=2
wrksrc="linux-${version}"
version=5.10.132
revision=1
wrksrc="linux-${version%.*}"
short_desc="Linux kernel and modules (${version%.*} series)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="https://www.kernel.org"
distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz"
checksum=e144a6d851a8e2977743d45fdb9cdb1b7f4aabde09533e73c969cded4daa962c
distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version%.*}.tar.xz
https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-${version}.xz"
checksum="dcdf99e43e98330d925016985bfbc7b83c66d367b714b2de0cbbfcbf83d8ca43
efaba407c164cc58018cea43ff6ab736562900905816802c8514a9fb99f3f74d"
python_version=3
skip_extraction="patch-${version}.xz"
# XXX Restrict archs until a proper <arch>-dotconfig is available in FILESDIR.
archs="x86_64* i686* ppc* aarch64*"
@ -52,6 +55,10 @@ if [ "${_patchver}" ]; then
_version="EXTRAVERSION=${_patchver}"
fi
pre_patch() {
xzcat $XBPS_SRCDISTDIR/$pkgname-$version/patch-${version}.xz | patch -Np1
}
do_configure() {
# 5.8 misses Documentation/DocBook. We ship the directory from 4.12 here.
cp -a $FILESDIR/DocBook -t Documentation