diff --git a/sdk_lib/enter_chroot.sh b/sdk_lib/enter_chroot.sh index 28b6719238..c5ae6053a4 100755 --- a/sdk_lib/enter_chroot.sh +++ b/sdk_lib/enter_chroot.sh @@ -222,7 +222,7 @@ setup_env() { # Make sure the new root directory itself is a mount point. Tools like # unshare assume that things like `mount --make-rprivate /` work. - setup_mount "${MOUNTED_PATH}" "--bind" / + setup_mount "${MOUNTED_PATH}" "--rbind" / setup_mount none "-t proc" /proc setup_mount none "-t sysfs" /sys