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/run-snapd-from-snap: adapt to new mount place for snapd snap #255

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alfonsosanchezbeato
Copy link
Member

Now we will mount the snapd snap in /snap/snapd/ on first boot to avoid duplicate mounts. Adapt to this initramfs changes.

Now we will mount the snapd snap in /snap/snapd/<revision> on first
boot to avoid duplicate mounts. Adapt to this initramfs changes.
@alfonsosanchezbeato
Copy link
Member Author

This would need to be backported to all core20+ bases. The change is compatible with older snap-bootstrap and with the new one with the changes in canonical/snapd#14548.

# dynamic linker
# /snap/snapd/current/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
# is available to run snapd.
[ -d /snap/snapd ] || mkdir -p /snap/snapd
Copy link
Collaborator

Choose a reason for hiding this comment

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

Think about it, the condition was useless here, right? Maybe you can remove it in the same time.

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.

lgtm, thank you

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