aboutsummaryrefslogtreecommitdiffstats
path: root/layerindex/update.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-12-27 13:52:52 +0800
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-02-05 10:53:30 +1300
commitab4693f8ab3a1b264a04a9bf087ba545959961ac (patch)
treeb268f1eced8690cbe0c685413d0bf686887160a1 /layerindex/update.py
parent11e5010b13ef1210c7e05e4b5dafbb43cf3ce58a (diff)
downloadopenembedded-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