Hi,
I’ve been working on updating the version of snapd in Debian (because of the stretch freeze it is currently the rather out-of-date 2.21). I have updating packaging in git https://anonscm.debian.org/git/collab-maint/snapd.git/log/?h=debian-2.27 (source package and build logs also in http://people.canonical.com/~mwh/snapd-for-debian/).
The package builds but I haven’t tested that they in fact work yet.
I also have a feeling that the package includes various binaries and systemd units that only make sense for an all-snaps system and so should be excluded. In particular I think I should exclude these files:
./usr/lib/snapd/snap-repair
./usr/lib/snapd/system-shutdown
./lib/systemd/system/snapd.autoimport.service
./lib/systemd/system/snap-repair.service
./lib/systemd/system/snap-repair.timer
./lib/systemd/system/snapd.system-shutdown.service
and maybe the udev rules. Can someone look through the file list (in the build log, or at http://paste.ubuntu.com/25287571/) and tell me if there is anything else to leave out?
Cheers,
mwh