]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
recipetool: create: reimplement fetching with normal fetch/unpack tasks
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 19 Jul 2017 10:07:18 +0000 (12:07 +0200)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 20 Jul 2017 14:35:47 +0000 (16:35 +0200)
commit27330c09ce0a5e4127c7aa469caf038ff925df4d
treee2f2fc92650197bb6b04aa3c0f063562e8965072
parenta7f4c6089dda6d837cf92946b02c8a3f7d5abd42
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>
scripts/lib/devtool/upgrade.py
scripts/lib/recipetool/create.py
scripts/lib/recipetool/create_npm.py
scripts/lib/scriptutils.py