Make test "can pivot to new rootfs recursively" work on NixOS

Signed-off-by: Jonathan Wright <quaggy@gmail.com>
This commit is contained in:
Jonathan Wright
2023-10-01 11:11:28 -07:00
parent 4a7bb29257
commit 5e2b6a3079

View File

@@ -94,9 +94,10 @@ else
BWRAP_RO_HOST_ARGS="--ro-bind /usr /usr
--ro-bind /etc /etc
--ro-bind /bin /bin
--ro-bind /lib /lib
--ro-bind-try /lib /lib
--ro-bind-try /lib64 /lib64
--ro-bind /sbin /sbin
--ro-bind-try /sbin /sbin
--ro-bind-try /nix/store /nix/store
--dir /var/tmp
--proc /proc
--dev /dev"