Tinfoil rework - OE-Core changes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | lib/oe/recipeutils: use cooker function instead of bb.providersmeta/ | +2 | 0 replies | |
| 2/14 | oe-selftest: make tinfoil quiet when using to start QEMUmeta/ | +1 | 0 replies | |
| 3/14 | oe-selftest: use tinfoil.parse_recipe()meta/ | +1 | 0 replies | |
| 4/14 | devtool / recipetool: use tinfoil parsing APIscripts/ scripts/ scripts/ +4 more | +16 | 0 replies | |
| 5/14 | classes/base: fix license file checksumming when source not under TMPDIRmeta/ | +4 | 0 replies | |
| 6/14 | classes/patch: move in logic to commit for additional tasksmeta/ scripts/ | +70 | 0 replies | |
| 7/14 | classes/patch: move several functions to oe.patchmeta/ meta/ meta/ | +116 | 0 replies | |
| 8/14 | recipetool: add OE lib pathscripts/ | +1 | 0 replies | |
| 9/14 | devtool: fix extraction of source to work in memres modescripts/ scripts/ | +55 | 0 replies | |
| 10/14 | lib/oe/recipeutils: drop parse_recipe_simple()meta/ | +0 | 0 replies | |
| 11/14 | devtool: extract: disable basehash mismatch errorsscripts/ | +1 | 0 replies | |
| 12/14 | devtool: prevent BBHandledException from showing tracebackscripts/ | +7 | 0 replies | |
| 13/14 | oe-selftest: devtool: improve test_devtool_modify slightlymeta/ | +12 | 0 replies | |
| 14/14 | oe-selftest: add basic tinfoil testsmeta/ | +146 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] Tinfoil rework - OE-Core changes
Tinfoil is an API that allows you to write simple utilities that call into BitBake code to read variables, parse recipes, etc. (as used by various scripts in BitBake & OE, including bitbake-layers, devtool, etc.) This patchset reworks tinfoil in order to address several limitations of the current implementation, first and foremost that it doesn't currently work in bitbake's memory resident mode. This rework is also known as "tinfoil2" although the classes and modules have not changed name. This patchset depends upon the corresponding patchset sent to the bitbake-devel list and both sets should be applied together in order for things to remain working.
Note that whilst these patchsets make some significant improvements to how the system behaves in memory resident mode, there are still a number of issues that prevent memory resident mode from being reliable. See this wiki page for a few more details:
https://wiki.yoctoproject.org/wiki/index.php?title=Tinfoil2
I will be converting some of these into bugzilla entries after this patchset and the corresponding one for bitbake get merged.
The following changes since commit d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf:
targetloader.py: drop test for ClassType (2016-12-12 15:16:39 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/tinfoil2-oecore
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/tinfoil2-oecore
Paul Eggleton (14):
lib/oe/recipeutils: use cooker function instead of bb.providers
oe-selftest: make tinfoil quiet when using to start QEMU
oe-selftest: use tinfoil.parse_recipe()
devtool / recipetool: use tinfoil parsing API classes/base: fix license file checksumming when source not under
TMPDIR
classes/patch: move in logic to commit for additional tasks classes/patch: move several functions to oe.patch
recipetool: add OE lib path
devtool: fix extraction of source to work in memres mode lib/oe/recipeutils: drop parse_recipe_simple()
devtool: extract: disable basehash mismatch errors
devtool: prevent BBHandledException from showing traceback
oe-selftest: devtool: improve test_devtool_modify slightly
oe-selftest: add basic tinfoil tests
meta/classes/base.bbclass | 5 +- meta/classes/patch.bbclass | 168 +++++++++++++++--------------------- meta/lib/oe/patch.py | 107 +++++++++++++++++++++++ meta/lib/oe/recipeutils.py | 49 ++--------- meta/lib/oeqa/selftest/devtool.py | 15 +++- meta/lib/oeqa/selftest/tinfoil.py | 146 +++++++++++++++++++++++++++++++ meta/lib/oeqa/utils/commands.py | 6 +- scripts/devtool | 11 ++- scripts/lib/devtool/__init__.py | 26 ++---- scripts/lib/devtool/deploy.py | 2 +- scripts/lib/devtool/standard.py | 160 ++++++++++++---------------------- scripts/lib/devtool/upgrade.py | 4 +- scripts/lib/recipetool/append.py | 21 +---- scripts/lib/recipetool/newappend.py | 14 +-- scripts/lib/recipetool/setvar.py | 2 +- scripts/recipetool | 1 + 16 files changed, 429 insertions(+), 308 deletions(-) create mode 100644 meta/lib/oeqa/selftest/tinfoil.py
Signature · 1 line
2.5.5