aboutsummaryrefslogtreecommitdiffstats
path: root/config/Config-kernel.in
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-06-12 02:59:05 +0200
committerAlexander Couzens <lynxis@fe80.eu>2019-07-02 16:32:47 +0200
commitfdd0a8d49118134070c13231b6d10ec88b9105da (patch)
tree435446c241a82d88b46d858556ba48e77f0f1691 /config/Config-kernel.in
parent3fd97c522bb791058215e736a00b86aa8af92363 (diff)
downloadupstream-fdd0a8d49118134070c13231b6d10ec88b9105da.tar.gz
upstream-fdd0a8d49118134070c13231b6d10ec88b9105da.tar.bz2
upstream-fdd0a8d49118134070c13231b6d10ec88b9105da.zip
Make linux kernel builds reproducible when BUILDBOT selected
The linux kernel is not reproducible because the build user and domain is included into the kernel. Set the build user to `builder` and build domain to buildhost. It's also possible to build reproducible builds by setting KERNEL_BUILD_USER KERNEL_BUILD_DOMAIN to static values. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'config/Config-kernel.in')
-rw-r--r--config/Config-kernel.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 84c64fcd90..eeda3e1b6f 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -6,6 +6,7 @@
config KERNEL_BUILD_USER
string "Custom Kernel Build User Name"
+ default "builder" if BUILDBOT
default ""
help
Sets the Kernel build user string, which for example will be returned
@@ -14,6 +15,7 @@ config KERNEL_BUILD_USER
config KERNEL_BUILD_DOMAIN
string "Custom Kernel Build Domain Name"
+ default "buildhost" if BUILDBOT
default ""
help
Sets the Kernel build domain string, which for example will be