From 01614c68171304ac33e565bf62040a4c37ca77a9 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Wed, 21 Sep 2022 13:47:04 +0200 Subject: feat(arch-nspawn): set console mode to autopipe systemd-nspawn sets up a pts in the container by default which build scripts might use to ask for interactive input. This is only okay if the host side is also a TTY. The 'autopipe' mode deals with this situation appropriately. --- src/arch-nspawn.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch-nspawn.in b/src/arch-nspawn.in index 1eba0a6..2318813 100644 --- a/src/arch-nspawn.in +++ b/src/arch-nspawn.in @@ -63,6 +63,7 @@ nspawn_args=( --slice="devtools-$(systemd-escape "${SUDO_USER:-$USER}")" --machine="arch-nspawn-$$" --as-pid2 + --console=autopipe ) if (( ${#cache_dirs[@]} == 0 )); then -- cgit v1.2.3-70-g09d2