aboutsummaryrefslogtreecommitdiffstats
path: root/chroot/voidglibc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chroot/voidglibc.sh')
-rwxr-xr-xchroot/voidglibc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/chroot/voidglibc.sh b/chroot/voidglibc.sh
index 90b440b..bc2c47b 100755
--- a/chroot/voidglibc.sh
+++ b/chroot/voidglibc.sh
@@ -5,4 +5,6 @@ sudo mount -t proc proc $CHROOT_DIR/proc/
sudo mount -t sysfs sys $CHROOT_DIR/sys/
# sudo mount -o bind /tmp $CHROOT_DIR/tmp/
# sudo mount -o bind /dev $CHROOT_DIR/dev/
+mkdir -p "$CHROOT_DIR/dev/pts"
+sudo mount -t devpts none "$CHROOT_DIR/dev/pts" -o ptmxmode=0666,newinstance
sudo chroot $CHROOT_DIR