buildroot: explicitly invoke runners via python3
Use the python-interpreter explicitly to invoke the runners. This works around inconsistencies between scripts imported from the host, and the interpreter taken from a build-root.
This commit is contained in:
parent
19328b062c
commit
33844711cd
1 changed files with 2 additions and 0 deletions
|
|
@ -119,6 +119,8 @@ class BuildRoot(contextlib.AbstractContextManager):
|
|||
*[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 [])],
|
||||
"--",
|
||||
"python3",
|
||||
f"/run/osbuild/lib/runners/{self.runner}"
|
||||
] + argv, check=check, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue