BuildRoot: include the osbulid module in the containers

This way we have access to all our helper libraries from the stages
and assemblers.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2019-07-18 15:43:08 +02:00 committed by Lars Karlitski
parent e2dc0c5081
commit 5d5766a98a

View file

@ -122,6 +122,7 @@ class BuildRoot:
f"--machine={self.machine_name}",
f"--directory={self.root}",
f"--bind={libdir}/osbuild-run:/run/osbuild/osbuild-run",
f"--bind-ro={libdir}/osbuild:/run/osbuild/osbuild",
*[f"--bind={b}" for b in (binds or [])],
*[f"--bind-ro={b}" for b in [argv[0] + ":" + command,
self.api + ":" + "/run/osbuild/api",