summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--makechrootpkg.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index add87d3..8724355 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -241,6 +241,9 @@ EOF
# These functions aren't run in makechrootpkg,
# so no global variables
_chrootbuild() {
+ # Work around nspawn not giving us a ctty
+ exec </dev/console
+
# No coredumps
ulimit -c 0