From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 00/14] Tinfoil rework - OE-Core changes
Date: Tue, 13 Dec 2016 20:09:32 +1300 [thread overview]
Message-ID: <cover.1481612135.git.paul.eggleton@linux.intel.com> (raw)
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
--
2.5.5
next reply other threads:[~2016-12-13 7:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-13 7:09 Paul Eggleton [this message]
2016-12-13 7:09 ` [PATCH 01/14] lib/oe/recipeutils: use cooker function instead of bb.providers Paul Eggleton
2016-12-13 7:09 ` [PATCH 02/14] oe-selftest: make tinfoil quiet when using to start QEMU Paul Eggleton
2016-12-13 7:09 ` [PATCH 03/14] oe-selftest: use tinfoil.parse_recipe() Paul Eggleton
2016-12-13 7:09 ` [PATCH 04/14] devtool / recipetool: use tinfoil parsing API Paul Eggleton
2016-12-13 7:09 ` [PATCH 05/14] classes/base: fix license file checksumming when source not under TMPDIR Paul Eggleton
2016-12-13 7:09 ` [PATCH 06/14] classes/patch: move in logic to commit for additional tasks Paul Eggleton
2016-12-13 7:09 ` [PATCH 07/14] classes/patch: move several functions to oe.patch Paul Eggleton
2016-12-13 7:09 ` [PATCH 08/14] recipetool: add OE lib path Paul Eggleton
2016-12-13 7:09 ` [PATCH 09/14] devtool: fix extraction of source to work in memres mode Paul Eggleton
2016-12-13 7:09 ` [PATCH 10/14] lib/oe/recipeutils: drop parse_recipe_simple() Paul Eggleton
2016-12-13 7:09 ` [PATCH 11/14] devtool: extract: disable basehash mismatch errors Paul Eggleton
2016-12-13 7:09 ` [PATCH 12/14] devtool: prevent BBHandledException from showing traceback Paul Eggleton
2016-12-13 7:09 ` [PATCH 13/14] oe-selftest: devtool: improve test_devtool_modify slightly Paul Eggleton
2016-12-13 7:09 ` [PATCH 14/14] oe-selftest: add basic tinfoil tests Paul Eggleton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1481612135.git.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox