Hi Paul, The "-a ACTUAL_BRANCH" is a litle different from what we had talked, now it respects "-l" and "-b", we can use -l to specify layers or default to all, and it requires "-b" to work, only one branch is supported in a run, for example:
$ update.py -b master -a branch_20170526 All the layers which have branch master and actual_branch branch_20170526 will be updated to branch_20170526. $ update.py -b master -l meta-oe -a branch_20170526 Only meta-oe layer will be updated. $ update.py -b master -l bitbake -a branch_20170526 The bitbake's bitbake_branch will be updated. Robert Yang (8): layerconfparse.py: remove unused layerbranch from parse_layer() utils.py: remove obsolete dependencies update_layer.py: set layerbranch's collection before add_dependencies update.py: add -p to git fetch update.py: fix -l option recipeparse.py: restore cwd when the parsing is done update.py: update layers orderly update.py: update actual branch for layer and bitbake layerindex/layerconfparse.py | 2 +- layerindex/recipeparse.py | 3 + layerindex/tools/import_layer.py | 2 +- layerindex/update.py | 188 +++++++++++++++++++++++++++++++-------- layerindex/update_layer.py | 6 +- layerindex/utils.py | 51 ++++++++++- 6 files changed, 210 insertions(+), 42 deletions(-) -- 2.10.2 -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
