]> code.ossystems Code Review - openembedded-core.git/commit
yocto-compat-layer.py: Fix the signature validation
authorMark Hatle <mark.hatle@windriver.com>
Fri, 31 Mar 2017 02:30:29 +0000 (21:30 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2017 11:36:44 +0000 (12:36 +0100)
commit4eb0932e755b7cb582a8db811aeed1397ecb92cc
tree90ca0bcfaad35bf82a7caaf1b0723dd78ddd5f2e
parent6e0a268b750fb6701604dd936cd2cf3b47a6e804
yocto-compat-layer.py: Fix the signature validation

The initial signatures need to be collected -after- the dependency layers have
been added to the system.  Otherwise changes that happen due to dependencies,
outside of the layer being scanned, will show up as signature problems.

The add_layer function was split into two pieces so that we can process
the dependencies first, and then add the layer itself for the comparison.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/compatlayer/__init__.py
scripts/yocto-compat-layer.py