Skip to content

yocto-compat-layer.py updates

Mark Hatle openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4yocto-compat-layer.py: Add status for skipped itemsscripts/yocto-compat-layer.py+7 -30 replies
2/4yocto-compat-layer.py: Add --dependency argumentscripts/yocto-compat-layer.py+9 -10 replies
3/4compatlayer/__init__.py: Allow add_layer to process recursive depsscripts/lib/compatlayer/__init__.py+35 -50 replies
4/4yocto-compat-layer.py: Fix the signature validationscripts/lib/compatlayer/__init__.py scripts/yocto-compat-layer.py+23 -130 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAníbal Limón
SeriesA-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] yocto-compat-layer.py updates

The changes in this series fix a number of issues with the yocto-compat-layer script.

- When a layer is skipped due to missing dependencies, it was difficult to see this without inspecting the whole log.

- There needs to be a way to pass in a list of layers that can be used for dependencies, but should not be evaluated in this pass. The overall evaluation is very time consuming and having to parse/validate 15 dependent layers to see if the layer you are working on passes is not useful!

- The dependency processing was not working properly. It was only processing dependencies at one level. Move this to a recursive process so we're sure that all needed dependencies are present.

- Change how the initial signatures are stored to be compared to the layers signatures for distro/BSP checks. Before the signatures were stored very early (before any dependencies were calculated), causing the dependencies for a BSP layer to trigger a failure in signature validation.

Mark Hatle (4):
yocto-compat-layer.py: Add status for skipped items yocto-compat-layer.py: Add --dependency argument compatlayer/__init__.py: Allow add_layer to process recursive deps yocto-compat-layer.py: Fix the signature validation

 scripts/lib/compatlayer/__init__.py | 47 ++++++++++++++++++++++++++++++-------
 scripts/yocto-compat-layer.py       | 47 +++++++++++++++++++++++++++----------
 2 files changed, 73 insertions(+), 21 deletions(-)
Signature · 1 line
1.8.3.1