diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-04-06 17:07:22 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-04-10 09:10:36 +0100 |
commit | 003e90886584f0b92bdebf23fc1661443b6d50f2 (patch) | |
tree | b1d203a771e11900640d01271949b72d36899133 /scripts/lib/checklayer/__init__.py | |
parent | 91782cf429ff9b66f8c59e7d1517df8ef680c258 (diff) | |
download | poky-003e90886584f0b92bdebf23fc1661443b6d50f2.tar.gz |
yocto-check-layer: add a test for correct setting of LAYERSERIES_COMPAT_collection
[YOCTO #12661]
(From OE-Core rev: 13a80b22f28b81a0082d181674295a0f96111f6b)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/__init__.py')
-rw-r--r-- | scripts/lib/checklayer/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py index 288c457822..2618416fab 100644 --- a/scripts/lib/checklayer/__init__.py +++ b/scripts/lib/checklayer/__init__.py | |||
@@ -56,9 +56,11 @@ def _get_layer_collections(layer_path, lconf=None, data=None): | |||
56 | priority = ldata.getVar('BBFILE_PRIORITY_%s' % name) | 56 | priority = ldata.getVar('BBFILE_PRIORITY_%s' % name) |
57 | pattern = ldata.getVar('BBFILE_PATTERN_%s' % name) | 57 | pattern = ldata.getVar('BBFILE_PATTERN_%s' % name) |
58 | depends = ldata.getVar('LAYERDEPENDS_%s' % name) | 58 | depends = ldata.getVar('LAYERDEPENDS_%s' % name) |
59 | compat = ldata.getVar('LAYERSERIES_COMPAT_%s' % name) | ||
59 | collections[name]['priority'] = priority | 60 | collections[name]['priority'] = priority |
60 | collections[name]['pattern'] = pattern | 61 | collections[name]['pattern'] = pattern |
61 | collections[name]['depends'] = depends | 62 | collections[name]['depends'] = depends |
63 | collections[name]['compat'] = compat | ||
62 | 64 | ||
63 | return collections | 65 | return collections |
64 | 66 | ||