summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-15 06:05:09 +0200
committerErich Eckner <git@eckner.net>2017-09-15 06:05:09 +0200
commit3eadb2f54b19b1141544f0a449eb2649eced044a (patch)
treee1d1126da39f7d93678d093e23fe10151dd0aaed /makechrootpkg.in
parent3a3649dbb5dcb1f85dafbf557213d71977f2bf4a (diff)
parentddd508efc083fc9beb6f2c96e2537521b31c1e6f (diff)
downloaddevtools32-3eadb2f54b19b1141544f0a449eb2649eced044a.tar.xz
Merge remote-tracking branch 'upstream/master'
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