[buildbot] phase1: add separate option for kmod repo embedding
LEDE Commits
lede-commits at lists.infradead.org
Fri Nov 13 09:10:25 EST 2020
jow pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/053d1e665077017165b75f077443ece036e160a3
commit 053d1e665077017165b75f077443ece036e160a3
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>
---
phase1/master.cfg | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/phase1/master.cfg b/phase1/master.cfg
index 74866e2..edc4118 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -190,10 +190,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 = [ ]
@@ -1006,7 +1010,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