From 5e2b6a3079c72f0b5aacdf2b499ec2c048257c71 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Sun, 1 Oct 2023 11:11:28 -0700 Subject: [PATCH] Make test "can pivot to new rootfs recursively" work on NixOS Signed-off-by: Jonathan Wright --- tests/libtest.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/libtest.sh b/tests/libtest.sh index 3ef2d643..d55bb02b 100644 --- a/tests/libtest.sh +++ b/tests/libtest.sh @@ -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"