From: Jo-Philipp Wich Date: Fri, 13 Nov 2020 14:03:45 +0000 (+0100) Subject: phase1: add separate option for kmod repo embedding X-Git-Tag: v1~54 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=053d1e665077017165b75f077443ece036e160a3;p=buildbot.git phase1: add separate option for kmod repo embedding Signed-off-by: Jo-Philipp Wich --- 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