[OE-core] [PATCH 0/5] [RFC] yocto-compat-layer: various enhancements + bitbake-diffsigs support
Patrick Ohly
patrick.ohly at intel.com
Fri Apr 7 16:38:15 UTC 2017
I started applying yocto-compat-layer to some real BSP layers and ran
into some usability issues with the tool.
I also didn't want to do the root cause analysis manually, so I
automated the dependency analysis and the running of
bitbake-diffsigs.
This patch series is based on Mark's "yocto-compat-layer.py updates"
series. The last commit depends on Paul's "bitbake-diffsigs: add an
option to find and compare specific signatures" patch from
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=paule/sigstuff&id=5bb69edfb4bbaa7373061daeb4f233a7e2f43a43
Regarding the BSP example that I ended up using: it actually was one
of the better BSP layers and only had one problem in a "bitbake world"
build instead of several as in other BSP layers. Nevertheless I
obscured the name to protect the (not so) guilty in the commit
messages ;-}
The two changes that show up in test_signatures look harmless at first
glance, but probably would need to be done differently to avoid a
false positive when doing the signature check.
V2: - use self.fail() instead of self.assertTrue(False, ...)
- test_machine_signatures check (work in progress)
Patrick Ohly (5):
yocto-compat-layer: fix also other command invocations
yocto-compat-layer: limit report of signature changes
yocto-compat-layer: include bitbake-diffsigs output
yocto-compat-layer: also determine tune flags for each task
yocto-compat-layer: test signature differences when setting MACHINE
scripts/lib/compatlayer/__init__.py | 71 ++++++++++++++++++---
scripts/lib/compatlayer/cases/bsp.py | 54 +++++++++++++++-
scripts/lib/compatlayer/cases/common.py | 89 ++++++++++++++++----------
scripts/yocto-compat-layer.py | 22 +++++-
4 files changed, 189 insertions(+), 47 deletions(-)
base-commit: 719f6ff68135dc2ad143c8572c8321974f6a3357
--
git-series 0.9.1
More information about the Openembedded-core
mailing list