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

static: mount some directories from initramfs #245

Merged

Conversation

alfonsosanchezbeato
Copy link
Member

We want to mount /snap and /var/lib/snapd from the initramfs as they are a requisite to mount the kernel snap from initramfs.

@alfonsosanchezbeato
Copy link
Member Author

This is a prerequisite for canonical/core-initrd#262

@alfonsosanchezbeato
Copy link
Member Author

Moving to ready for review as we will want this before any other change.

@Meulengracht
Copy link
Member

This needs a rebase?

Copy link
Member

@Meulengracht Meulengracht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be proposed for core24 as well

We want to mount some folders from the initramfs as they
are a requisite to mount the kernel snap from initramfs:
- /snap is the root of the mountpoints for the kernel snap and
  kernel-modules components
- /var/lib/snapd contains the drivers tree and the snap and component
  files
- /var/snap might contain dynamically generated kernel modules, and we
  want the links from the drivers tree to be valid since the moment we
  switch root.
@alfonsosanchezbeato
Copy link
Member Author

Rebased, also updated actions to fix the tests

@alfonsosanchezbeato
Copy link
Member Author

I'll propose for core24 when approved.

@alfonsosanchezbeato alfonsosanchezbeato merged commit aa8ed89 into canonical:main Oct 9, 2024
3 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.

3 participants