Add mulitple extra cache fields request support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Refactory Current Cache implementationbitbake/ | +165 | 0 replies | |
| 2/4 | Introduce extra cache class for image creatorbitbake/ | +54 | 0 replies | |
| 3/4 | Introduce new param caches_array into Cache impl.bitbake/ bitbake/ bitbake/ +1 more | +59 | 2 replies | |
| 4/4 | Implement multiple extra cache fields request supportbitbake/ bitbake/ | +126 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4][Image Creator]Add mulitple extra cache fields request support
From: Liping Ke <[email protected]>
The series of patch are for mplementing multiple extra cache fields request support.If user needs to request extra cache fields besides CoreRecipeInfo fields, just add a new XXXRecipeInfo class definition as Image Creator UI Hob Does.
For implementing this new feature, we refactory current cache code, remove namedtuple and define corresponding class for dynamical cache fields support per different cache usage request.
Liping Ke (4):
Refactory Current Cache implementation Introduce extra cache class for image creator Introduce new param caches_array into Cache impl. Implement multiple extra cache fields request support
bitbake/lib/bb/cache.py | 532 ++++++++++++++++++++++------------------- bitbake/lib/bb/cache_extra.py | 54 ++++ bitbake/lib/bb/cooker.py | 70 ++++-- bitbake/lib/bb/shell.py | 2 +- bitbake/lib/bb/ui/hob.py | 2 + 5 files changed, 396 insertions(+), 264 deletions(-) create mode 100644 bitbake/lib/bb/cache_extra.py