sources: port to host services
Port sources to also use the host services infrastructure that is used by inputs, devices and mounts. Sources are a bit different from the other services that they don't run for the duration of the stage but are run before anything is built. By using the same infrastructure we re-use the process management and inter process communcation. Additionally, this will forward all messages from sources to the existing monitoring framework. Adapt all existing sources and tests.
This commit is contained in:
parent
072b75d78e
commit
c902a7a754
7 changed files with 78 additions and 109 deletions
|
|
@ -135,7 +135,7 @@ def osbuild_cli():
|
|||
output_directory = args.output_directory
|
||||
with ObjectStore(args.store) as object_store:
|
||||
|
||||
manifest.download(object_store, args.libdir)
|
||||
manifest.download(object_store, monitor, args.libdir)
|
||||
|
||||
r = manifest.build(
|
||||
object_store,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue