-
Notifications
You must be signed in to change notification settings - Fork 594
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
docs: Fix snapcraft build instructions and explicitly install lxd #14941
base: master
Are you sure you want to change the base?
Conversation
…requisite The current documentation for building snapd with snapcraft doesn't work in 24.04. It also doesn't mention the LXD requirement, which leads to uncertainty about the build process when lxd asks many config questions and isn't mentioned in the build instructions. This documentation change: - Adds --classic flag to snap install for snapcraft, as it is required - Removes --channel option from snapcraft call as it no longer exists in 8.5.1 - Adds necessary and missing sudo to snap install - Makes the lxd install and lxd init step explicit
Fri Jan 17 08:24:38 UTC 2025 Spread tests skipped |
I believe I have signed the contributor agreement for my GitHub user wheelerz, but it was only a few hours ago so I believe it has not gone through yet. |
12d0b61
to
c3d5585
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #14941 +/- ##
=========================================
Coverage ? 78.04%
=========================================
Files ? 1140
Lines ? 152415
Branches ? 0
=========================================
Hits ? 118958
Misses ? 26118
Partials ? 7339
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
I was running through a build using current documentation in HACKING.md for building snapd with snapcraft and it doesn't work in 24.04 (or 22.04). It also doesn't mention the lxd requirement, which leads to uncertainty about the build process when lxd asks many config questions and isn't mentioned in the build instructions. This documentation change: