linux4.9: update to 4.9.247.

build reproducibly
This commit is contained in:
Piraty 2020-12-04 18:07:03 +01:00
parent a8f8e9ad6d
commit 164733c28b

View file

@ -1,6 +1,6 @@
# Template file for 'linux4.9' # Template file for 'linux4.9'
pkgname=linux4.9 pkgname=linux4.9
version=4.9.243 version=4.9.247
revision=1 revision=1
wrksrc="linux-${version}" wrksrc="linux-${version}"
short_desc="Linux kernel and modules (${version%.*} series)" short_desc="Linux kernel and modules (${version%.*} series)"
@ -8,7 +8,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only" license="GPL-2.0-only"
homepage="https://www.kernel.org" homepage="https://www.kernel.org"
distfiles="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${version}.tar.xz" distfiles="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${version}.tar.xz"
checksum=d3aa189ca7fcc6e52d6c0333a0d7acd8789e9a492b32dbf9476e926ffaa73984 checksum=f73aeb0046a94c6cedcc3edc07d5609f1fc64a38c445983a68bf5d84f56acfd6
python_version=2 #unverified python_version=2 #unverified
patch_args="-Np1" patch_args="-Np1"
@ -41,6 +41,11 @@ mutable_files="
/usr/lib/modules/${_kernver}/modules.alias.bin /usr/lib/modules/${_kernver}/modules.alias.bin
/usr/lib/modules/${_kernver}/modules.devname" /usr/lib/modules/${_kernver}/modules.devname"
# reproducible build
export KBUILD_BUILD_TIMESTAMP=${SOURCE_DATE_EPOCH:-0}
export KBUILD_BUILD_USER=voidlinux
export KBUILD_BUILD_HOST=voidlinux
do_configure() { do_configure() {
# If there's a file called <arch>-dotconfig, use it to # If there's a file called <arch>-dotconfig, use it to
# configure the kernel; otherwise use arch defaults and all stuff # configure the kernel; otherwise use arch defaults and all stuff