buildroot: insert osbuild-library into PYTHONPATH
Prepare the PYTHONPATH of the build-root container to include the path to the osbuild library. This way, we no longer need any symlinks or bind-mounts for the individual modules.
This commit is contained in:
parent
33844711cd
commit
3c56a3b7ac
1 changed files with 1 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ class BuildRoot(contextlib.AbstractContextManager):
|
|||
"--as-pid2",
|
||||
"--link-journal=no",
|
||||
f"--directory={self.root}",
|
||||
f"--setenv=PYTHONPATH=/run/osbuild/lib",
|
||||
*[f"--bind-ro={b}" for b in nspawn_ro_binds],
|
||||
*[f"--bind={b}" for b in (binds or [])],
|
||||
*[f"--bind-ro={b}" for b in (readonly_binds or [])],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue