Make linux kernel builds reproducible when BUILDBOT selected
authorAlexander Couzens <lynxis@fe80.eu>
Wed, 12 Jun 2019 00:59:05 +0000 (02:59 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Tue, 2 Jul 2019 14:32:47 +0000 (16:32 +0200)
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>
config/Config-kernel.in

index 84c64fcd90e033b76cf9de41cedf8606e696456f..eeda3e1b6f49b5455e517c1bbb20129a30ee3201 100644 (file)
@@ -6,6 +6,7 @@
 
 config KERNEL_BUILD_USER
        string "Custom Kernel Build User Name"
 
 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
        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"
 
 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
        default ""
        help
          Sets the Kernel build domain string, which for example will be