stage: provide loop-server to stages
This makes it possible for stages to create loop devices and further aligns Stages and Assemblers.
This commit is contained in:
parent
1297922a57
commit
0bb3121273
1 changed files with 3 additions and 0 deletions
|
|
@ -101,6 +101,9 @@ class Stage:
|
|||
sources_output)
|
||||
build_root.register_api(src)
|
||||
|
||||
rls = remoteloop.LoopServer()
|
||||
build_root.register_api(rls)
|
||||
|
||||
r = build_root.run([f"/run/osbuild/bin/{self.name}"],
|
||||
monitor,
|
||||
binds=[os.fspath(tree) + ":/run/osbuild/tree"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue