summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-06-12 02:59:05 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-04 13:22:40 +0200
commitc26a970f5b690d7b57f3f186afa3bbdccf3e1f49 (patch)
tree1e434ba57d302e82578fca1195f18c17934e0395
parent1e887ddc8d805a76b59687bea9f520ccb0557223 (diff)
downloadopenwrt-c26a970f5b690d7b57f3f186afa3bbdccf3e1f49.tar.gz
openwrt-c26a970f5b690d7b57f3f186afa3bbdccf3e1f49.tar.bz2
openwrt-c26a970f5b690d7b57f3f186afa3bbdccf3e1f49.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> (cherry picked from commit fdd0a8d49118134070c13231b6d10ec88b9105da)
-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 1df430d531..8969e3faa9 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