diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2017-02-02 13:48:57 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2017-02-02 13:51:37 +0000 |
commit | f4781fc6e089d9a205c5a6ba5ba33c3b8674872c (patch) | |
tree | 940bceff6c9a6f54eaccdf9db0deb5e65b4d4084 /scripts/scriptslib.py | |
parent | 079319075460062ea3cd6c500716c55a8478adf4 (diff) | |
download | definitions-f4781fc6e089d9a205c5a6ba5ba33c3b8674872c.tar.gz |
scriptslib: Update 'import_meta_ybd' for current YBD
Now the strip-gplv3 configure extension works again
when using YBD metadata.
Diffstat (limited to 'scripts/scriptslib.py')
-rw-r--r-- | scripts/scriptslib.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/scriptslib.py b/scripts/scriptslib.py index 1f79fb95..53c6ca8e 100644 --- a/scripts/scriptslib.py +++ b/scripts/scriptslib.py @@ -88,14 +88,17 @@ class BaserockMeta(object): null = '0' * 32 - if 'repo' not in source: + if 'configuration' in source: + # This is the deployment metadata, ignore + return + elif 'repo' not in source: kind = 'stratum' contents = 'components' source['repo'] = 'upstream:definitions' source['ref'] = null # No ref info else: kind = 'chunk' - contents = 'files' + contents = 'components' repo = parse_repo_alias(source['repo']) source_name = '-'.join( |