]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Dec 2015 21:30:53 +0000 (21:30 +0000)
commit65354e066f87df7d3138adceb22d6a05d1685904
tree43d95832a2a5e7441dccc4183a295c3ac4b46c04
parent0731c5a9e98f7b7f6e5ada9bbb99acb3f5884516
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.

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