From: Guillaume Pellerin Date: Mon, 7 Jun 2021 07:26:03 +0000 (+0200) Subject: add pts X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bcb114426c78cb9bdaba216683efafa260c81fab;p=clone-me.git add pts --- 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