[buildbot] phase1: add separate option for kmod repo embedding

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 13 09:10:15 EST 2020


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

commit d8e3f09218be53f2ac7355454f94df77a55fbedf
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Fri Nov 13 15:03:45 2020 +0100

    phase1: add separate option for kmod repo embedding
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
    (cherry picked from commit 053d1e665077017165b75f077443ece036e160a3)
---
 phase1/master.cfg | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/phase1/master.cfg b/phase1/master.cfg
index 26701a3..6fd3f70 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -167,10 +167,14 @@ if ini.has_option("usign", "comment"):
 	usign_comment = ini.get("usign", "comment")
 
 enable_kmod_archive = False
+embed_kmod_repository = False
 
 if ini.has_option("phase1", "kmod_archive"):
 	enable_kmod_archive = ini.getboolean("phase1", "kmod_archive")
 
+if ini.has_option("phase1", "kmod_repository"):
+	embed_kmod_repository = ini.getboolean("phase1", "kmod_repository")
+
 
 # find targets
 targets = [ ]
@@ -884,7 +888,7 @@ for target in targets:
 		haltOnFailure = True
 	))
 
-	if enable_kmod_archive:
+	if enable_kmod_archive and embed_kmod_repository:
 		# embed kmod repository. Must happen before 'images'
 
 		# find rootfs staging directory



More information about the lede-commits mailing list