]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: create: reimplement fetching with normal fetch/unpack tasks
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 20 Jul 2017 14:48:11 +0000 (16:48 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jul 2017 07:44:19 +0000 (08:44 +0100)
commit9a47a6690052ef943c0d4760630ee630fb012153
tree09b54eea28dd1f556fe7cadabd98dda4d02854bd
parentbe45e9b17e9dbc8c2594d3a939be377ab0720a7c
recipetool: create: reimplement fetching with normal fetch/unpack tasks

Now that we have the ability to run the tasks in a more standard context
through tinfoil, change recipetool's fetching code to use that to fetch
files using it. This has the major advantage that any dependencies of
do_fetch and do_unpack (e.g. for subversion or npm) will be handled
automatically. This also has the beneficial side-effect of fixing a
recent regression that prevented this fetch operation from working with
memory resident bitbake.

Also fix devtool's usage of fetch_uri() at the same time so that we can
completely replace it.

Fixes [YOCTO #11710].

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