summaryrefslogtreecommitdiffstats
path: root/layerindex/recipeparse.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-05-23 01:20:57 -0700
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-07-21 08:14:57 +0200
commitd689b785c49badb82db189c0765e4aa91bc28cd8 (patch)
tree6b5effe9df5650207f91d596028970e0a6302f59 /layerindex/recipeparse.py
parenta4d14191f4f80f44b783474df3da495269124cb8 (diff)
downloadopenembedded-core-contrib-d689b785c49badb82db189c0765e4aa91bc28cd8.tar.gz
update_layer.py: set layerbranch's collection before add_dependencies
The _add_dependency() uses: if layerbranch.collection: var_name = layerbranch.collection The layerbranch.collection is none if it is newly created, thus it can't get LAYERDEPENDS, because what defined in layer.conf is LAYERDEPENDS_<collection>, but what it would get is LAYERDEPENDS_<layer_name>, this patch can fix the problem. Reproducer: $ python3 update_layer.py -l mete-xfce -b <newbranch> --fullreload -d It would get None LAYERDEPENDS. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/recipeparse.py')
0 files changed, 0 insertions, 0 deletions