snapcraft cleanbuild does not work with lxd installed via snap
Bug #1666735 reported by
Thomi Richards
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
The 'snapcraft cleanbuild' command checks to see if lxd is installed. Sadly it does this by checking the apt package cache, which means that users using lxd from the snap package can't use the cleanbuild command, despite the fact that there's no technical reason (as far as I can see anyway) why this wouldn't work.
Can we check the output of 'snap list' to see if the lxd snap is present? Alternatively, perhaps just ensure that a safe lxd command exits 0 (perhaps 'lxc list').
Changed in snapcraft: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Sergio Schvezov (sergiusens) |
milestone: | none → 2.28 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/snapcore/ snapcraft/ pull/1199/ files