mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* o/snapstate,snap: introduce snap.SelfContainedSetPrereqTracker It is meant to be used when dealing with a self-contained set of snaps, with no desire to fetch further snaps, so all prerequisites must be present in the set itself. This applies to first boot seeding and remodeling for example. * many: use snap.SelfContainedSetPrereqTracker also in snap.ValidateBasesAndProviders these now can produce warnings, OTOH the relaxed checks allow to build/seed an image even if a content requirement is fulfilled by an alternative provider notice that with the relaxed checks seeding might fail or the system not work if the right auto-connections or connections are not in-place snaps used as default-providers usually have been taken care of already but it might be up to the user to ask to set that up for alternative ones * snap: clarify some names * many: rename and clarify to PrereqTracker.MissingProviderContentTags * seed/seedwriter: clarify TODO --------- Co-authored-by: Ernest Lotter <ernest.lotter@canonical.com>