Skip to content

Add oe.fetch, rework fetch/unpack deps from SRC_URI

Chris Larson openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3oe.fetch: add module with uri convenience codemeta/conf/bitbake.conf meta/lib/oe/fetch.py+88 -00 replies
2/3Clean up how we handle unpack/fetch deps from SRC_URImeta/classes/base.bbclass+29 -270 replies
3/3base: when using zip files, depend on unzip-nativemeta/classes/base.bbclass+3 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add oe.fetch, rework fetch/unpack deps from SRC_URI

From: Chris Larson <[email protected]>

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 <[email protected]>
---

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
Signature · 1 line
1.7.4.1