mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-06-27 23:46:33 +08:00
don't filter runtime deps for packagerV3 case
Fixes: https://pagure.io/fm-orchestrator/issue/1714
This commit is contained in:
@@ -789,20 +789,6 @@ def process_module_context_configuration(stream_or_packager):
|
|||||||
if not stream.is_static_context():
|
if not stream.is_static_context():
|
||||||
stream.set_static_context()
|
stream.set_static_context()
|
||||||
|
|
||||||
# we get the dependenices of the stream
|
|
||||||
deps = stream.get_dependencies()
|
|
||||||
# with v3 packager format the output v2 stream will always have
|
|
||||||
# only one set of dependecies. We need to remove the platform
|
|
||||||
# virtual module from runtime dependencies as it is not desired.
|
|
||||||
modules = deps[0].get_runtime_modules()
|
|
||||||
module_streams = [(m, deps[0].get_runtime_streams(m)[0]) for m in modules
|
|
||||||
if m not in conf.base_module_names]
|
|
||||||
deps[0].clear_runtime_dependencies()
|
|
||||||
|
|
||||||
for module_stream in module_streams:
|
|
||||||
module, stream = module_stream
|
|
||||||
deps[0].add_runtime_stream(module, stream)
|
|
||||||
|
|
||||||
return streams, static_context
|
return streams, static_context
|
||||||
else:
|
else:
|
||||||
xmd = stream_or_packager.get_xmd()
|
xmd = stream_or_packager.get_xmd()
|
||||||
|
|||||||
Reference in New Issue
Block a user