[OpenWrt-Devel] [PATCH][buildbot] phase1: build kernel reproducible

Alexander Couzens lynxis at fe80.eu
Fri Jun 7 10:50:19 EDT 2019


Set CONFIG_KERNEL_BUILD_DOMAIN and CONFIG_KERNEL_BUILD_USER to
buildbot at openwrt

Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 phase1/master.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index f5068675bafc..765d9dea0fd9 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -632,7 +632,7 @@ for target in targets:
 	factory.addStep(ShellCommand(
 		name = "newconfig",
 		description = "Seeding .config",
-		command = "printf 'CONFIG_TARGET_%s=y\\nCONFIG_TARGET_%s_%s=y\\n' >> .config" %(ts[0], ts[0], ts[1])
+		command = "printf 'CONFIG_TARGET_%s=y\\nCONFIG_TARGET_%s_%s=y\\nCONFIG_KERNEL_BUILD_DOMAIN=\"openwrt\"\\nCONFIG_KERNEL_BUILD_USER=\"buildbot\"\\n' >> .config" %(ts[0], ts[0], ts[1])
 	))
 
 	factory.addStep(ShellCommand(
-- 
2.21.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list