linux4.19: build reproducibly

This commit is contained in:
Piraty 2020-12-04 18:08:50 +01:00
parent 5c73115017
commit 70cffc3aa9

View file

@ -39,6 +39,11 @@ mutable_files="
/usr/lib/modules/${_kernver}/modules.alias.bin
/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() {
# 4.19 misses Documentation/DocBook. We ship the directory from 4.12 here.
cp -a $FILESDIR/DocBook -t Documentation