mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
layer-config: Allow layer add to be disabled on a per target basis
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9d82393ba8
commit
2a4797a143
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user