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

Add the EROFS rootfs support #9648

Closed
wants to merge 0 commits into from
Closed

Conversation

copybara-service[bot]
Copy link

Add the EROFS rootfs support

This PR adds the EROFS rootfs support. No gofer process will be created for the container, when there is no need to pass through host files into a container via the gofer process. Annotations for rootfs are introduced to provide extra information, including the mount source, mount type and overlay config. busybox-static is also added to the default image and will be used to build the EROFS rootfs images during the test. The overlay medium is refactored from string to a new type OverlayMedium. Now all overlay medium related methods, such as validation and extracting anon directory, are implemented on this type. The GoferMountConf is decoupled to two layers to allow us to configure all combinations of a gofer mount in a succinct way.

cc @ayushr2

FUTURE_COPYBARA_INTEGRATE_REVIEW=#9486 from btw616:erofs-CR-and-rootfs-support bff1150

@copybara-service copybara-service bot added the exported Issue was exported automatically label Nov 7, 2023
@copybara-service copybara-service bot force-pushed the test/cl579853926 branch 5 times, most recently from 7ef264f to 6d17db7 Compare November 9, 2023 22:46
@copybara-service copybara-service bot closed this Nov 9, 2023
@copybara-service copybara-service bot deleted the test/cl579853926 branch November 9, 2023 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Issue was exported automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants