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 #260

Merged

Conversation

alfonsosanchezbeato
Copy link
Member

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.

Backport from #245

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.
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.

thank you, +1

@alfonsosanchezbeato alfonsosanchezbeato merged commit ee984dc into canonical:core24 Oct 10, 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.

2 participants