From: Alexander Couzens Date: Wed, 12 Jun 2019 00:59:05 +0000 (+0200) Subject: Make linux kernel builds reproducible when BUILDBOT selected X-Git-Tag: v19.07.0-rc1~251 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c26a970f5b690d7b57f3f186afa3bbdccf3e1f49;p=openwrt%2Fstaging%2Fhauke.git 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 (cherry picked from commit fdd0a8d49118134070c13231b6d10ec88b9105da) --- 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