Merge pull request #603 from quag/nixos-recursive-test-fix

Make test "can pivot to new rootfs recursively" work on NixOS
This commit is contained in:
Simon McVittie 2023-10-02 10:08:35 +01:00 committed by GitHub
commit 7816e01298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

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"