]> code.ossystems Code Review - openembedded-core.git/commit
devtool: upgrade: fix removing other recipes from workspace on reset
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 22 Nov 2015 20:39:39 +0000 (09:39 +1300)
committerRobert Yang <liezhi.yang@windriver.com>
Mon, 28 Dec 2015 07:03:15 +0000 (23:03 -0800)
commitc44d41b0dec7457c4347a00b21d8b5bd24a9b887
tree956715c5d0438abb637497d0783ad8eab209bd3e
parente82466ebd9c8b9277255680d5efdd76eabf125b1
devtool: upgrade: fix removing other recipes from workspace on reset

If you did a "devtool add" followed by "devtool upgrade" and then did
a "devtool reset" on the recipe you upgraded, the first recipe would
also be deleted from the workspace - this was because we were
erroneously adding the entire "recipes" subdirectory and its contents to
be tracked for removal on reset. Remove the unnecessary call to
os.path.dirname() that caused this.

(From OE-Core master rev: 65354e066f87df7d3138adceb22d6a05d1685904)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py