runVM: mount devpts

This commit is contained in:
Nikolay Amiantov 2016-09-04 16:42:43 +03:00
parent 8b38b6aae2
commit 698cadd714

View File

@ -123,8 +123,9 @@ rec {
mkdir -p /fs/dev
mount -o bind /dev /fs/dev
mkdir -p /fs/dev /fs/dev/shm
mkdir -p /fs/dev/shm /fs/dev/pts
mount -t tmpfs -o "mode=1777" none /fs/dev/shm
mount -t devpts none /fs/dev/pts
echo "mounting Nix store..."
mkdir -p /fs/nix/store