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

docs: Fix snapcraft build instructions and explicitly install lxd #14941

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wheelerz
Copy link

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:

  • 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

…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
Copy link

github-actions bot commented Jan 16, 2025

Fri Jan 17 08:24:38 UTC 2025

Spread tests skipped

@wheelerz
Copy link
Author

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.

@Meulengracht Meulengracht added the Skip spread Indicate that spread job should not run label Jan 17, 2025
@Meulengracht Meulengracht reopened this Jan 17, 2025
Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@846e5de). Learn more about missing BASE report.
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #14941   +/-   ##
=========================================
  Coverage          ?   78.04%           
=========================================
  Files             ?     1140           
  Lines             ?   152415           
  Branches          ?        0           
=========================================
  Hits              ?   118958           
  Misses            ?    26118           
  Partials          ?     7339           
Flag Coverage Δ
unittests 78.04% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@bboozzoo bboozzoo left a comment

Choose a reason for hiding this comment

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

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip spread Indicate that spread job should not run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants