]> code.ossystems Code Review - openembedded-core.git/commit
devtool: upgrade: fix renaming of recipe if PV is not in name
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 23 Feb 2016 19:40:10 +0000 (08:40 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:35 +0000 (11:32 +0000)
commite144db3650b4a7c0a59066621905f34a5400303e
tree0ee296c0e5b8e2dafb2e65a9f7c476c7cbd099e8
parent60454a0ba154d6c777e0c2b05b887b4e4fcde986
devtool: upgrade: fix renaming of recipe if PV is not in name

If the actual value of PV isn't in the name of the recipe (for example,
a git or svn recipe) there's no point trying to rename it. Additionally,
we already have the original filename, there's no need to guess it -
just pass it in.

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