]> 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, 27 Jul 2017 21:35:04 +0000 (22:35 +0100)
commite4dce65ce604a74da0f09ee2742cf8b13cf96c8e
tree5bbab2364b8e96c3b3450af6e705d6ca5390a99a
parentf2190e7e81f86735510c6ab10d3ac781146113f9
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/compatlayer/cases/common.py
scripts/lib/compatlayer/context.py
scripts/yocto-compat-layer.py