mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
devtool: upgrade: remove erroneous error when not renaming recipe
If we're upgrading a git recipe the recipe file usually won't need renaming; for some unknown reason we were throwing an error here which isn't correct. (From OE-Core rev: 656348dff9bc9dd1cafc8fff11e5e374e3667f0f) 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>
This commit is contained in:
committed by
Richard Purdie
parent
9a704441b7
commit
9b7d45cf48
@@ -117,7 +117,6 @@ def _rename_recipe_file(bpn, oldpv, newpv, path):
|
|||||||
recipe = "%s_git.bb" % bpn
|
recipe = "%s_git.bb" % bpn
|
||||||
if os.path.isfile(os.path.join(path, recipe)):
|
if os.path.isfile(os.path.join(path, recipe)):
|
||||||
newrecipe = recipe
|
newrecipe = recipe
|
||||||
raise DevtoolError("Original recipe not found on workspace")
|
|
||||||
return os.path.join(path, newrecipe)
|
return os.path.join(path, newrecipe)
|
||||||
|
|
||||||
def _rename_recipe_files(bpn, oldpv, newpv, path):
|
def _rename_recipe_files(bpn, oldpv, newpv, path):
|
||||||
|
|||||||
Reference in New Issue
Block a user