From 64592aaa0e9276252f81d87ecb99ba1647c9ea7f Mon Sep 17 00:00:00 2001 From: Piraty Date: Sat, 28 Nov 2020 20:49:37 +0100 Subject: [PATCH 1/6] linux4.4: update to 4.4.246. build reproducibly --- srcpkgs/linux4.4/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/linux4.4/template b/srcpkgs/linux4.4/template index 196bce255a1..6c63346db28 100644 --- a/srcpkgs/linux4.4/template +++ b/srcpkgs/linux4.4/template @@ -1,6 +1,6 @@ # Template file for 'linux4.4' pkgname=linux4.4 -version=4.4.243 +version=4.4.246 revision=1 wrksrc="linux-${version}" short_desc="Linux kernel and modules (${version%.*} series)" @@ -8,7 +8,7 @@ maintainer="Orphaned " license="GPL-2.0-only" homepage="https://www.kernel.org" distfiles="${KERNEL_SITE}/kernel/v4.x/linux-${version}.tar.xz" -checksum=95de46b6bd72f66169629eb0e343b005778539864598eae76c3ca999645d58b5 +checksum=9e0bdebf18a12d0c899e5e4042e715e24a70ab0fd986a3f4c67c8ec2710bad97 python_version=2 #unverified nocross=yes @@ -41,6 +41,10 @@ mutable_files=" /usr/lib/modules/${_kernver}/modules.alias.bin /usr/lib/modules/${_kernver}/modules.devname" +export KBUILD_BUILD_TIMESTAMP=${SOURCE_DATE_EPOCH:-0} +export KBUILD_BUILD_USER=voidlinux +export KBUILD_BUILD_HOST=voidlinux + do_configure() { # If there's a file called -dotconfig, use it to # configure the kernel; otherwise use arch defaults and all stuff From 71783b57a81014bda7ffd90f8653935d89dd60ab Mon Sep 17 00:00:00 2001 From: Piraty Date: Sat, 28 Nov 2020 20:55:04 +0100 Subject: [PATCH 2/6] linux4.9: update to 4.9.246. build reproducibly --- srcpkgs/linux4.9/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/linux4.9/template b/srcpkgs/linux4.9/template index 6572209d09f..f3f6a376c1e 100644 --- a/srcpkgs/linux4.9/template +++ b/srcpkgs/linux4.9/template @@ -1,6 +1,6 @@ # Template file for 'linux4.9' pkgname=linux4.9 -version=4.9.243 +version=4.9.246 revision=1 wrksrc="linux-${version}" short_desc="Linux kernel and modules (${version%.*} series)" @@ -8,7 +8,7 @@ maintainer="Orphaned " license="GPL-2.0-only" homepage="https://www.kernel.org" distfiles="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${version}.tar.xz" -checksum=d3aa189ca7fcc6e52d6c0333a0d7acd8789e9a492b32dbf9476e926ffaa73984 +checksum=49e266c7d72d388e8ce6aa486a1018cc0595ae1b9e99934bce5b484fd8dba9f5 python_version=2 #unverified patch_args="-Np1" @@ -41,6 +41,10 @@ mutable_files=" /usr/lib/modules/${_kernver}/modules.alias.bin /usr/lib/modules/${_kernver}/modules.devname" +export KBUILD_BUILD_TIMESTAMP=${SOURCE_DATE_EPOCH:-0} +export KBUILD_BUILD_USER=voidlinux +export KBUILD_BUILD_HOST=voidlinux + do_configure() { # If there's a file called -dotconfig, use it to # configure the kernel; otherwise use arch defaults and all stuff From b8ca6f67c87afb7e0f2e262106f5eca1be675665 Mon Sep 17 00:00:00 2001 From: Piraty Date: Sat, 28 Nov 2020 20:53:13 +0100 Subject: [PATCH 3/6] linux4.14: update to 4.14.209. build reproducibly --- srcpkgs/linux4.14/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/linux4.14/template b/srcpkgs/linux4.14/template index ac656bf181f..171002c85a2 100644 --- a/srcpkgs/linux4.14/template +++ b/srcpkgs/linux4.14/template @@ -1,6 +1,6 @@ # Template file for 'linux4.14' pkgname=linux4.14 -version=4.14.206 +version=4.14.209 revision=1 wrksrc="linux-${version}" short_desc="Linux kernel and modules (${version%.*} series)" @@ -8,7 +8,7 @@ maintainer="Orphaned " license="GPL-2.0-only" homepage="http://www.kernel.org" distfiles="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${version}.tar.xz" -checksum=1c233efaa5063983293a02d4692acc9ced9c03e18857364855d4f612347086ac +checksum=cb02465cc8f1972cc14707b25d779c8668d220c39e68a24bb23afd4c58182b9c python_version=2 #unverified patch_args="-Np1" @@ -42,6 +42,10 @@ mutable_files=" /usr/lib/modules/${_kernver}/modules.alias.bin /usr/lib/modules/${_kernver}/modules.devname" +export KBUILD_BUILD_TIMESTAMP=${SOURCE_DATE_EPOCH:-0} +export KBUILD_BUILD_USER=voidlinux +export KBUILD_BUILD_HOST=voidlinux + do_configure() { # 4.14rc1 misses Documentation/DocBook. We ship the directory from 4.12 here. cp -a $FILESDIR/DocBook -t Documentation From e42b6a3d2d727121eb3f2a6ec6d69df549616265 Mon Sep 17 00:00:00 2001 From: Piraty Date: Sat, 28 Nov 2020 20:53:45 +0100 Subject: [PATCH 4/6] linux4.19: build reproducibly --- srcpkgs/linux4.19/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/linux4.19/template b/srcpkgs/linux4.19/template index 981a0c6e2d2..f90bdd77bdf 100644 --- a/srcpkgs/linux4.19/template +++ b/srcpkgs/linux4.19/template @@ -39,6 +39,10 @@ mutable_files=" /usr/lib/modules/${_kernver}/modules.alias.bin /usr/lib/modules/${_kernver}/modules.devname" +export KBUILD_BUILD_TIMESTAMP=${SOURCE_DATE_EPOCH:-0} +export KBUILD_BUILD_USER=voidlinux +export KBUILD_BUILD_HOST=voidlinux + do_configure() { # 4.19 misses Documentation/DocBook. We ship the directory from 4.12 here. cp -a $FILESDIR/DocBook -t Documentation From f6486003337fe2b8f70bff073aa1b05ed67bfab0 Mon Sep 17 00:00:00 2001 From: Piraty Date: Sat, 28 Nov 2020 20:56:27 +0100 Subject: [PATCH 5/6] linux5.4: build reproducibly --- srcpkgs/linux5.4/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/linux5.4/template b/srcpkgs/linux5.4/template index 77af6f45148..06ad7961a58 100644 --- a/srcpkgs/linux5.4/template +++ b/srcpkgs/linux5.4/template @@ -39,6 +39,10 @@ mutable_files=" /usr/lib/modules/${_kernver}/modules.alias.bin /usr/lib/modules/${_kernver}/modules.devname" +export KBUILD_BUILD_TIMESTAMP=${SOURCE_DATE_EPOCH:-0} +export KBUILD_BUILD_USER=voidlinux +export KBUILD_BUILD_HOST=voidlinux + do_configure() { # 5.4 misses Documentation/DocBook. We ship the directory from 4.12 here. cp -a $FILESDIR/DocBook -t Documentation From 8580fa4ce6fcd824ec663d63f23e20068f591c75 Mon Sep 17 00:00:00 2001 From: Piraty Date: Sat, 28 Nov 2020 20:59:06 +0100 Subject: [PATCH 6/6] linux5.9: build reproducibly --- srcpkgs/linux5.9/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/linux5.9/template b/srcpkgs/linux5.9/template index bf184888713..ca4baa925ad 100644 --- a/srcpkgs/linux5.9/template +++ b/srcpkgs/linux5.9/template @@ -41,6 +41,10 @@ mutable_files=" /usr/lib/modules/${_kernver}/modules.alias.bin /usr/lib/modules/${_kernver}/modules.devname" +export KBUILD_BUILD_TIMESTAMP=${SOURCE_DATE_EPOCH:-0} +export KBUILD_BUILD_USER=voidlinux +export KBUILD_BUILD_HOST=voidlinux + if [ "$CROSS_BUILD" ]; then _cross="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-" fi