]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: fix incorrect URL variable usage
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 15 Aug 2017 04:07:17 +0000 (16:07 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Aug 2017 23:06:40 +0000 (00:06 +0100)
commitb66b73bcf5ee7e4488970576fdc31dfa25b35f5e
tree75efe98bf4992e3aa40a154277a713c02649da41
parent26842b2e4fc9c1d243ce412e845a5444cb03c4b9
recipetool: create: fix incorrect URL variable usage

We have two variables here, srcuri and fetchuri. srcuri is what
eventually ends up in the recipe, whereas fetchuri is what we actually
pass to the fetcher when we fetch the source within recipetool -
sometimes these need to be different particularly for an upcoming patch
to handle automatically setting the branch parameter. In OE-Core
revision 9a47a6690052ef943c0d4760630ee630fb012153 I erroneously changed
the call to scriptutils.fetch_url() to pass srcuri instead of fetchuri -
this likely didn't have any ill effect, but change it back to passing
fetchuri to match the original intent.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py