diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/checklayer/__init__.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py index 1138000275..f625d59896 100644 --- a/scripts/lib/checklayer/__init__.py +++ b/scripts/lib/checklayer/__init__.py | |||
@@ -59,9 +59,14 @@ def _get_layer_collections(layer_path, lconf=None, data=None): | |||
59 | pattern = ldata.getVar('BBFILE_PATTERN_%s' % name) | 59 | pattern = ldata.getVar('BBFILE_PATTERN_%s' % name) |
60 | depends = ldata.getVar('LAYERDEPENDS_%s' % name) | 60 | depends = ldata.getVar('LAYERDEPENDS_%s' % name) |
61 | compat = ldata.getVar('LAYERSERIES_COMPAT_%s' % name) | 61 | compat = ldata.getVar('LAYERSERIES_COMPAT_%s' % name) |
62 | try: | ||
63 | depDict = bb.utils.explode_dep_versions2(depends or "") | ||
64 | except bb.utils.VersionStringException as vse: | ||
65 | bb.fatal('Error parsing LAYERDEPENDS_%s: %s' % (name, str(vse))) | ||
66 | |||
62 | collections[name]['priority'] = priority | 67 | collections[name]['priority'] = priority |
63 | collections[name]['pattern'] = pattern | 68 | collections[name]['pattern'] = pattern |
64 | collections[name]['depends'] = depends | 69 | collections[name]['depends'] = ' '.join(depDict.keys()) |
65 | collections[name]['compat'] = compat | 70 | collections[name]['compat'] = compat |
66 | 71 | ||
67 | return collections | 72 | return collections |