[OE-core] [PATCH 0/4] yocto-compat-layer.py updates

Aníbal Limón anibal.limon at linux.intel.com
Mon Apr 3 19:03:29 UTC 2017


Acked-by: Aníbal Limón <anibal.limon at linux.intel.com>

On 03/30/2017 08:30 PM, Mark Hatle wrote:
> 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(-)
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170403/b8e774a6/attachment-0002.sig>


More information about the Openembedded-core mailing list