Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-09-21 13:47:04 +0200
committerLevente Polyak <anthraxx@archlinux.org>2024-04-27 14:52:13 +0200
commit01614c68171304ac33e565bf62040a4c37ca77a9 (patch)
treec4ad3fcf1160cd93c5a99a5a554cd203de858a5a
parentdced77d23de2a9b00faed40350d229aaaffaa4b2 (diff)
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.
-rw-r--r--src/arch-nspawn.in1
1 files changed, 1 insertions, 0 deletions
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