Now that we have $SHELL_PROMPT_PREFIX integration,
let's drop the background tinting. Especially since it
doesn't quite nest all that well yet and we often invoke
nspawn and such from within mkosi box which does its own
background tinting.
parse_config,
resolve_deps,
summary,
- systemd_pty_forward,
systemd_tool_version,
want_kernel,
want_selinux_relabel,
cmdline = [*args.cmdline]
- if sys.stdin.isatty() and sys.stdout.isatty():
- cmdline = systemd_pty_forward(config, background="48;2;12;51;51", title="mkosi-sandbox") + cmdline
-
with contextlib.ExitStack() as stack:
if config.tools() != Path("/"):
d = stack.enter_context(tempfile.TemporaryDirectory(prefix="mkosi-path-"))