Skip to content

Add mulitple extra cache fields request support

Ke Liping poky yocto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Refactory Current Cache implementationbitbake/lib/bb/cache.py+165 -1930 replies
2/4Introduce extra cache class for image creatorbitbake/lib/bb/cache_extra.py+54 -00 replies
3/4Introduce new param caches_array into Cache impl.bitbake/lib/bb/cache.py bitbake/lib/bb/cooker.py bitbake/lib/bb/shell.py +1 more+59 -142 replies
4/4Implement multiple extra cache fields request supportbitbake/lib/bb/cache.py bitbake/lib/bb/cooker.py+126 -650 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/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