]> code.ossystems Code Review - openembedded-core.git/commit
yocto-compat-layer.py: apply test_signatures to all layers
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 27 Jun 2017 15:33:40 +0000 (17:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Jul 2017 13:38:06 +0000 (14:38 +0100)
commite7fe215f50a1b75771f33fffdda529a95c026d3f
tree602e3341034d306d34155db68a9e42b342b66912
parente8416554dfc9d4196543279a4845f6c0671f3e5c
yocto-compat-layer.py: apply test_signatures to all layers

Software layers were previously allowed to change signatures, but
that's not desired for those layers either. The rule that a layer
which is "Yocto Compatible 2.0" must not change signatures unless
explicitly requested holds for all kinds of layers.

However, as this is something that software layers might not be able
to do right away, testing for signature changes in software layers can
be disabled. It's on by default, as that was Richard's
recommendation. Whether that should change needs further discussion as
part of finalizing "Yocto Compatible 2.0".

As it might still change, the tool now has both a with/without
parameter so that users of the tool can choose the desired behavior
without being affected by future changes to the default.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/compatlayer/cases/common.py
scripts/lib/compatlayer/context.py
scripts/yocto-compat-layer.py