build-snaps can't be used in container builds because squashfuse is not installed

Bug #1730561 reported by Leo Arias
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Cris Dywan

Bug Description

The snapcraft container builds install squashfuse in the container only when it is installing snapcraft from the snap. So when it is installing snapcraft from the deb, build-snaps will fail to install.

To reproduce, make sure that the container builds will install the snapcraft deb. You can run snapcraft from the development venv, for example.
Then try to build a snap with build-snaps declared in the yaml, using SNAPCRAFT_CONTAINER_BUILDS=1.

Tags: cleanbuild
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

I kinda think we should just install it always. Less logic, and it's small and won't hurt anything.

Changed in snapcraft:
status: New → Triaged
importance: Undecided → High
Cris Dywan (kalikiana)
tags: added: cleanbuild
Cris Dywan (kalikiana)
Changed in snapcraft:
assignee: nobody → Christian Dywan (kalikiana)
Revision history for this message
Cris Dywan (kalikiana) wrote :
Changed in snapcraft:
status: Triaged → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.