Add oe.fetch, rework fetch/unpack deps from SRC_URI
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | oe.fetch: add module with uri convenience codemeta/ meta/ | +88 | 0 replies | |
| 2/3 | Clean up how we handle unpack/fetch deps from SRC_URImeta/ | +29 | 0 replies | |
| 3/3 | base: when using zip files, depend on unzip-nativemeta/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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