diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2017-12-27 13:52:52 +0800 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-02-05 10:53:30 +1300 |
commit | ab4693f8ab3a1b264a04a9bf087ba545959961ac (patch) | |
tree | b268f1eced8690cbe0c685413d0bf686887160a1 /layerindex/update.py | |
parent | 11e5010b13ef1210c7e05e4b5dafbb43cf3ce58a (diff) | |
download | openembedded-core-contrib-ab4693f8ab3a1b264a04a9bf087ba545959961ac.tar.gz |
utils.py: fix remove obsolete dependencies
The obsolete dependency is the one which is in database but not in
conf/layer.conf anymore. The old code had a problem for newly created
layerbranch, the new layerbranch has no dependencies, so no need remove. And it
had a side effect was that when need_remove was cleaned up, it would be set
again in the next for loop, thus might wrongly remove dependencies. This patch
can fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'layerindex/update.py')
0 files changed, 0 insertions, 0 deletions