Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'makechrootpkg.in')
-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