]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool: create: fix incorrect URL variable usage paule/recipetool-fetchuri
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 14 Aug 2017 23:45:31 +0000 (11:45 +1200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 15 Aug 2017 04:06:43 +0000 (16:06 +1200)
commit50d9fef8e5f4d25f89e2ee439f8c3668b742a6d3
treea1db3fe28c2eef615d733814bae1af45d83c6896
parent5a25ed1071f0d9b7d95edcc2b5b4545f960d5f95
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>
scripts/lib/recipetool/create.py