[OE-core] [PATCH v2 0/7] recipetool fetching fixes

Paul Eggleton paul.eggleton at linux.intel.com
Thu Jul 20 14:48:06 UTC 2017


Some improvements to recipetool create (and hence devtool add) around
handling dependencies during fetching, which required extensive
reworking of the code in order to use normal task execution instead of
calling the fetcher directly. This also fixes bug 11710 which blocked
devtool add / recipetool create from working in memres mode. Also
includes a couple of general fetching improvements.

NOTE: this patchset depends upon the tinfoil changes just sent to
bitbake-devel.

Changes since v1:
- Removed remaining references to scriptutils.fetch_uri() function
  which didn't work in conjunction with memres or Richard's pending
  persistent server changes
- Added a fix for unpacking rpms
- Tweaked description for 2/7
- Reordered and fixed "ensure npm available" patch


The following changes since commit c4c2fb3732dbb290b7f0ca43af2e8662f99e4582:

  libgcrypt: upgrade to 1.7.8 (2017-07-19 15:13:20 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib paule/devtool27
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=paule/devtool27

Paul Eggleton (7):
  classes/staging: change fixme debug message from note to debug
  devtool: extract: refactor kern-tools-native handling
  recipetool: create: ensure meaningful error for malformed tarballs
  recipetool: create: eliminate second fetch for packages
  recipetool: create: reimplement fetching with normal fetch/unpack tasks
  classes/base: set do_unpack dependencies for rpm files
  recipetool: create: refactor code for ensuring npm is available

 meta/classes/base.bbclass            |   4 +-
 meta/classes/staging.bbclass         |   2 +-
 scripts/lib/devtool/__init__.py      |  31 -------
 scripts/lib/devtool/standard.py      |  71 +++-------------
 scripts/lib/devtool/upgrade.py       |  10 ++-
 scripts/lib/recipetool/create.py     | 102 ++++++++++------------
 scripts/lib/recipetool/create_npm.py |  37 ++++++--
 scripts/lib/scriptutils.py           | 158 ++++++++++++++++++++++++++---------
 8 files changed, 218 insertions(+), 197 deletions(-)

-- 
2.9.4




More information about the Openembedded-core mailing list