summaryrefslogtreecommitdiff
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 6d89827..d9686e9 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -242,6 +242,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