It seems that we should probably create a 2.1.x track, then? Or maybe not, and make it clearer that users are opting in to rolling here?
>> Also, I don't think this is going to migrate existing installs to the new >> track? `snap install -channel=$FOO` will not switch snap tracks on an system >> that already has the snap installed. > See point above. If you could install it yes. But it's so broken I don't > think it's worth trying to add such a path. Oh, right. It was *never* possible to cleanly install fwupd-snap in Resolute. It would not be *difficult* to clean that up (`snap list fwupd` will exit 0 if fwupd is installed), but also acting in that case would overwrite whatever track the user has specified if they've changed it. Ok, fair enough. ----- That out of the way, poking around has unearthed a couple of other issues: *) I see that fwupd-snap.links installs `usr/bin/dbxtool`, but the fwupd snap doesn't ship that, so fwupd-wrapper will always fail on that. *) Should the Breaks/Replaces be versioned? Actually, should this be an unversioned Conflicts/Replaces, because we would expect any update to the fwupd package is going to keep the files that are conflicting? As it currently stands, if we update Resolute to fwupd 2.2 (which we might, given historical trends) we'd need to also update fwupd-snap to match. (Existing, but while we're here:) *) fwupd-snap.postinst is going to always do the config migration; rather than `[ -n $MIGRATE ]` (which always evaluates to true) you want `[ -n "$MIGRATE" ]`. *) `systemctl start snap.fwupd.fwupd.service` in the postinst is going to fail if the preinst skipped installing the snap. We should probably guard that in some way. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2166436 Title: Bring current fwupd-snap to resolute To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fwupd-snap/+bug/2166436/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
