From 0263a642eba3f8a13ed1f382781959e5cfde486f Mon Sep 17 00:00:00 2001 From: lea Date: Fri, 22 Nov 2024 17:42:55 -0800 Subject: [PATCH] meow --- katsu/modules/base/polycrystal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/katsu/modules/base/polycrystal.sh b/katsu/modules/base/polycrystal.sh index e2b8c0a..28b0823 100644 --- a/katsu/modules/base/polycrystal.sh +++ b/katsu/modules/base/polycrystal.sh @@ -2,7 +2,7 @@ set -euo pipefail cleanup() { - for mnt in sys proc; do + for mnt in sys proc dev/pts dev; do umount /mnt/mock-mount/$mnt done umount /mnt/mock-mount @@ -15,7 +15,7 @@ if [ -x "$(command -v polycrystal)" ]; then mount --bind / /mnt/mock-mount mount --make-private /mnt/mock-mount mount --bind /mnt/mock-mount /mnt/mock-mount - for mnt in proc sys; do + for mnt in proc sys dev dev/pts; do mount --bind /$mnt /mnt/mock-mount/$mnt done