summaryrefslogtreecommitdiffstats
path: root/templates/enter_dev_chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'templates/enter_dev_chroot.sh')
-rw-r--r--templates/enter_dev_chroot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/enter_dev_chroot.sh b/templates/enter_dev_chroot.sh
index 8f5eb40..1bf957b 100644
--- a/templates/enter_dev_chroot.sh
+++ b/templates/enter_dev_chroot.sh
@@ -66,6 +66,7 @@ fi
[ -e $BROOT/dev/random ] || mknod $BROOT/dev/random c 1 8
[ -e $BROOT/dev/urandom ] || mknod $BROOT/dev/urandom c 1 9
[ -e $BROOT/dev/tty ] || mknod $BROOT/dev/tty c 5 0
+[ -e $BROOT/dev/ptmx ] || mknod $BROOT/dev/ptmx c 5 2
@@ -162,7 +163,7 @@ fi
echo -e "\e]0;chroot-pkgbuild\a"
#used for Konsole
echo -e "\e]30;chroot-pkgbuild\a"
-env -i /usr/sbin/chroot $BROOT /bin/bash --login
+env -i TERM=$TERM /usr/sbin/chroot $BROOT /bin/bash --login