Installing a snap without any apps or hooks should not install a base snap
Bug #1802541 reported by
Zygmunt Krynicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Low
|
Unassigned |
Bug Description
Content snaps may have no apps or hooks so nothing to execute. I think we should not pull in the base snap that they declare (implicitly). For example installing "gtk-common-themes" or one of the other GTK/GNOME snaps pulls in the core snap, on a system otherwise using core18 exclusively.
summary: |
- Installing a snap without any apps or hooks should depend on the base + Installing a snap without any apps or hooks should not install a base snap |
Changed in snapd: | |
status: | New → Confirmed |
importance: | Undecided → Low |
To post a comment you must log in.
ATM we don't really know at the point where we decide to pull in the base whether the snap has hooks, they could be not listed in the snap.yaml. So this would need store support or changes around snapcraft output but then we could have issues with preexisting snaps if we are not careful.
A different approach is to devise a way for a snap to declare it doesn't need a base.