[buildbot] phase1: add config option to enable/disable kmod archive

LEDE Commits lede-commits at lists.infradead.org
Sat Nov 7 14:15:21 EST 2020


jow pushed a commit to buildbot.git, branch deployment-2020-11-07:
https://git.openwrt.org/d8a2884c04c742968e3a557b22b18591c95656f2

commit d8a2884c04c742968e3a557b22b18591c95656f2
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Sat Nov 7 20:11:13 2020 +0100

    phase1: add config option to enable/disable kmod archive
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
    (cherry picked from commit 9ad60fa4f759bf21dabd96c1cbb4b6d920af63ea)
---
 phase1/master.cfg | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index a1f39ce..737531c 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -166,7 +166,10 @@ if ini.has_option("usign", "key"):
 if ini.has_option("usign", "comment"):
 	usign_comment = ini.get("usign", "comment")
 
-enable_kmod_archive = True
+enable_kmod_archive = False
+
+if ini.has_option("phase1", "kmod_archive"):
+	enable_kmod_archive = (ini.getint("phase1", "kmod_archive") == 1)
 
 
 # find targets



More information about the lede-commits mailing list