commit: c7924ceeba09b1edae765b54717016f7afd07987
parent 5449bb818b13730dc9626915f5fa80e59113a96a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 8 Sep 2025 21:32:37 +0200
npm: bind mounts do recurse (now?)
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.local/bin/npm b/.local/bin/npm
@@ -4,10 +4,11 @@ bwrap
--die-with-parent
--unshare-all
--share-net
- --ro-bind / / # On my ZFS machines that's just the OS, bind mounts doesn't recurses
+ --ro-bind / /
--tmpfs /tmp
--dir /sysroot
--bind $PWD /sysroot
+ --bind /home/haelwenn/.npm /home/haelwenn/.npm
--chdir /sysroot
--proc /proc
--dev /dev