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

fix(overlayfs): split overlayfs mount in two steps (bsc#1219778) #311

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

aafeijoo-suse
Copy link
Collaborator

This commit splits the creation of required overlayfs underlaying directories and the actual overlayfs mount. This way it is still possible to mount the overlayfs with the generated sysroot.mount that dmsquash-live creates.

The overlayfs tree is created in a pre-mount hook so it is executed before sysroot.mount is started. Otherwise sysroot.mount starts and fails before mount hooks are executed.

Signed-off-by: David Cassany dcassany@suse.com

(cherry picked from commit bddffed)

@aafeijoo-suse aafeijoo-suse requested a review from tblume as a code owner February 9, 2024 15:21
davidcassany and others added 2 commits February 9, 2024 16:59
This commit splits the creation of required overlayfs underlaying
directories and the actual overlayfs mount. This way it is still
possible to mount the overlayfs with the generated sysroot.mount that
dmsquash-live creates.

The overlayfs tree is created in a pre-mount hook so it is executed
before sysroot.mount is started. Otherwise sysroot.mount starts and
fails before mount hooks are executed.

Signed-off-by: David Cassany <dcassany@suse.com>
(cherry picked from commit bddffed)
@aafeijoo-suse
Copy link
Collaborator Author

Merging now to try to meet the RC1 deadline.

@aafeijoo-suse aafeijoo-suse merged commit c9f6387 into openSUSE:SUSE/059 Feb 9, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants