osbuild: be more quiet

Don't print systemd-nspawn's messages about starting and stopping
containers.

Also supress a ldconfig warning and only show output from
systemd-sysusers when it fails.
This commit is contained in:
Lars Karlitski 2019-06-13 13:35:45 +02:00
parent 170eadde04
commit 9703b975c3
2 changed files with 9 additions and 1 deletions

View file

@ -50,6 +50,7 @@ class BuildRoot:
def run(self, argv, binds=[], readonly_binds=[], *args, **kwargs):
return subprocess.run([
"systemd-nspawn",
"--quiet",
"--as-pid2",
"--link-journal=no",
"--volatile=yes",