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

Upstream dependencies #147

Open
alexlarsson opened this issue Jun 12, 2023 · 3 comments
Open

Upstream dependencies #147

alexlarsson opened this issue Jun 12, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@alexlarsson
Copy link
Collaborator

alexlarsson commented Jun 12, 2023

To make it easier to track things, lets use this issue to track the current state (and to have discussions about this).

Current state:

  • The use of data-only lower layers (to hide all possible files in the basedir) we need the lazy-lower-data support which was added in 6.5.

  • To use the LCFS_MOUNT_FLAGS_REQUIRE_VERITY (or -o verity) options you need the overlay verity patches, which was added in 6.6rc1.

  • Overlayfs also requires erofs support for chunked files. This was added in linux 5.15.

  • To be able to store overlayfs lower directories (nested overlayfs) some overlay patches will be needed, these are being discussed on the list.

@cgwalters cgwalters added the enhancement New feature or request label Jun 12, 2023
@alexlarsson
Copy link
Collaborator Author

With this merge: torvalds/linux@63580f6 (will be in 6.6) we now support the LCFS_MOUNT_FLAGS_REQUIRE_VERITY flag upstream.

@jluebbe
Copy link
Collaborator

jluebbe commented Aug 31, 2023

  • Overlayfs also requires erofs support for chunked files. This was added in linux 5.15.

Why is support for chunked files needed? Perhaps I'm mistaken, but I'd expect the erofs image to have no actual data, so chunks would not be needed.

@alexlarsson
Copy link
Collaborator Author

@jluebbe All the files on the erofs need to be the same size as the backing file (typically using some form of hole). To do that size-effectively in erofs we use chunked files with a null backing block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants