Skip to content

Tinfoil fixes

Paul Eggleton bitbake-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Ensure we can still pass a custom datastore into parse_recipe_file() since the layer index update script needs to be able to do that. To accomplish this, make some minor structural changes in lib/bb/cache.py to make an internal function into something we can easily call from in tinfoil.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tinfoil: add context manager functionslib/bb/tinfoil.py+6 -00 replies
2/4Ensure tinfoil is shut down correctly in utilities that use itbin/bitbake-diffsigs bin/bitbake-layers+31 -280 replies
3/4cache: allow parsing a recipe with a custom config datastorelib/bb/cache.py+39 -341 reply
4/4tinfoil: add a parse_recipe_file functionlib/bb/tinfoil.py+36 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Tinfoil fixes

Add context management and a parsing function, and ensure tinfoil using utilities within the bitbake repo shut down tinfoil properly at the end. The parsing function in particular is going to be needed to properly fix the layer index update script that has been broken since the multiconfig changes.

(This series borrows a few things from my tinfoil2 branch.)

Changes since v1:

* Ensure we can still pass a custom datastore into parse_recipe_file() since the layer index update script needs to be able to do that. To accomplish this, make some minor structural changes in lib/bb/cache.py to make an internal function into something we can easily call from in tinfoil.

The following changes since commit 0ed8975c42718342a104a9764a58816f964ec4ea:

fetch2: clean up remaining cwd saves/changes (2016-08-24 13:55:36 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib paule/tinfoil-fixes-bb
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/tinfoil-fixes-bb

Paul Eggleton (4):
tinfoil: add context manager functions
Ensure tinfoil is shut down correctly in utilities that use it
cache: allow parsing a recipe with a custom config datastore
tinfoil: add a parse_recipe_file function

 bin/bitbake-diffsigs |  6 ++---
 bin/bitbake-layers   | 53 ++++++++++++++++++++------------------
 lib/bb/cache.py      | 73 ++++++++++++++++++++++++++++------------------------
 lib/bb/tinfoil.py    | 42 ++++++++++++++++++++++++++++++
 4 files changed, 112 insertions(+), 62 deletions(-)
Signature · 1 line
2.5.5