From bcb114426c78cb9bdaba216683efafa260c81fab Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 7 Jun 2021 09:26:03 +0200 Subject: [PATCH] add pts --- chroot-off.sh | 1 + chroot-on.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/chroot-off.sh b/chroot-off.sh index 8995f10..4733ad8 100755 --- a/chroot-off.sh +++ b/chroot-off.sh @@ -3,6 +3,7 @@ dir=/mnt/custom umount $dir/sys umount $dir/proc +umount $dir/dev/pts umount $dir/dev umount $dir/var umount $dir/home diff --git a/chroot-on.sh b/chroot-on.sh index e594409..08fc903 100755 --- a/chroot-on.sh +++ b/chroot-on.sh @@ -10,6 +10,7 @@ mount $ROOT $dir mount --bind /sys $dir/sys mount --bind /proc $dir/proc mount --bind /dev $dir/dev +mount --bind /dev/pts $dir/dev/pts mount --bind /run $dir/run mount $VAR $dir/var mount $HOME $dir/home -- 2.39.5