osbuild: run stages as PID2 instead of PID1
nspawn can provide a minimal PID1 implementation, avoiding stages to themselves do things like reap zobies etc. Use that.
This commit is contained in:
parent
7999ef9f9d
commit
61f83b3f46
1 changed files with 1 additions and 0 deletions
1
osbuild
1
osbuild
|
|
@ -73,6 +73,7 @@ def main(pipeline_path, from_archive, save):
|
|||
|
||||
try:
|
||||
subprocess.run(["systemd-nspawn",
|
||||
"--as-pid2",
|
||||
"--link-journal=no",
|
||||
"--volatile=yes",
|
||||
f"--directory={root}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue