ubuntu-device-flash --install option doesn't work

Bug #1558517 reported by Kyle Fazzari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
goget-ubuntu-touch (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I'm trying to preload a single snap when generating an Ubuntu Core image using ubuntu-device-flash by using the --install option. The option is accepted, and I see the snap in question being downloaded. The resulting image boots successfully, I see the snap in /snaps, the .mount file in /etc/systemd/system, but the snap is not shown in `snappy list`, nor are any systemd .service files created for the services contained within it.

With this feature broken, the only way to preload snaps is by creating an entire gadget snap and not using the official ones, which certainly isn't ideal.

Oliver Grawert (ogra)
Changed in goget-ubuntu-touch (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

I believe this is due to the fact that, as u-d-f uses snappy.InhibitHooks, snappy.Install() doesn't activate the snap in question.

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.