scriptslib: Update 'import_meta_ybd' for current YBD

Now the strip-gplv3 configure extension works again
when using YBD metadata.
parent d594c56e
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment