[OE-core] [PATCH 0/3] Add oe.fetch, rework fetch/unpack deps from SRC_URI

Chris Larson kergoth at gmail.com
Tue Apr 5 20:39:54 UTC 2011


From: Chris Larson <chris_larson at mentor.com>

This was intended to clean up and consolidate the code in base.bbclass which
sets up dependencies conditionally based upon the contents of SRC_URI.  To get
there, I decided to incorporate and rewrite some Uri handling code I had
written previously.  This is much more convenient to use than urldata and
SRC_URI, and the caching can be easily re-implemented if we move it into
bitbake at some point (e.g. create an lru cache decorator, inject its
construction/sync into the standard caching spots where cache/signature code
caching is done, if necessary).  Finally, this makes .zip files pull in
unzip-native.

Pull URL: https://github.com/kergoth/oe-core
  Branch: unpack-fetch-deps
  Browse: https://github.com/kergoth/oe-core/commits/unpack-fetch-deps

Thanks,
    Chris Larson <chris_larson at mentor.com>
---


Chris Larson (3):
  oe.fetch: add module with uri convenience code
  Clean up how we handle unpack/fetch deps from SRC_URI
  base: when using zip files, depend on unzip-native

 meta/classes/base.bbclass |   58 ++++++++++++++++--------------
 meta/conf/bitbake.conf    |    1 +
 meta/lib/oe/fetch.py      |   87 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 119 insertions(+), 27 deletions(-)
 create mode 100644 meta/lib/oe/fetch.py

-- 
1.7.4.1





More information about the Openembedded-core mailing list