Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow drive paths already in the jailer rootfs #510

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 24, 2023

  1. Allow drive paths already in the jailer rootfs

    Before, when providing a drive which is already in the jailer
    rootfs, the LinkFilesHandler would fail trying to hard-link the
    file to the path where it is already linked.
    
    This commit makes it so that we skip the hard-link step in this case.
    
    This change allows provisioning virtual drive contents via FUSE, so
    that the drive contents can be lazily fetched from a remote server.
    The FUSE mount needs to be set up in the chroot ahead of time,
    because FUSE files can't be hard-linked across filesystem boundaries.
    
    Signed-off-by: Brandon Duffany <brandon@buildbuddy.io>
    bduffany committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    f970275 View commit details
    Browse the repository at this point in the history