summaryrefslogtreecommitdiffstats
path: root/scripts/lib/compatlayer/context.py
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-06-27 17:33:40 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-27 22:36:44 +0100
commit14d5932c204ff045bd66c343ca86281f2e5f627f (patch)
tree6bdcd1f06a5f54cd7df0e82fc3c2f2752092a950 /scripts/lib/compatlayer/context.py
parent6d7302b53c6ceae1194611eba2ef48fc30f20e12 (diff)
downloadpoky-14d5932c204ff045bd66c343ca86281f2e5f627f.tar.gz
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. (From OE-Core rev: e4dce65ce604a74da0f09ee2742cf8b13cf96c8e) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/compatlayer/context.py')
-rw-r--r--scripts/lib/compatlayer/context.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/compatlayer/context.py b/scripts/lib/compatlayer/context.py
index 4932238798..7811d4ac20 100644
--- a/scripts/lib/compatlayer/context.py
+++ b/scripts/lib/compatlayer/context.py
@@ -9,6 +9,7 @@ import re
9from oeqa.core.context import OETestContext 9from oeqa.core.context import OETestContext
10 10
11class CompatLayerTestContext(OETestContext): 11class CompatLayerTestContext(OETestContext):
12 def __init__(self, td=None, logger=None, layer=None): 12 def __init__(self, td=None, logger=None, layer=None, test_software_layer_signatures=True):
13 super(CompatLayerTestContext, self).__init__(td, logger) 13 super(CompatLayerTestContext, self).__init__(td, logger)
14 self.layer = layer 14 self.layer = layer
15 self.test_software_layer_signatures = test_software_layer_signatures