layer-config: Allow layer add to be disabled on a per target basis
PATCH 1/1 layer-config: Allow layer add to be disabled on a per target basis
Signed-off-by Richard Purdie <[email protected]>
--- scripts/layer-config | 3 +++ 1 file changed, 3 insertions(+)
scripts/layer-config +3 -0
@@ -57,6 +57,9 @@ for repo in needrepos: repo_basename = repo.split('/')[0] if repo_basename in repos and "no-layer-add" in repos[repo_basename] and repos[repo_basename]["no-layer-add"]: continue + nolayeradd = utils.getconfiglist("NOLAYERADD", ourconfig, args.target, None) + if repo_basename in nolayeradd: + continue try: bitbakecmd(args.abworkdir, "bitbake-layers add-layer %s" % (args.abworkdir + "/" + repo)) except subprocess.CalledProcessError as e:
Signature · 1 line
2.40.1