Is there any guidance/document about how to write App-provided slots
David Callé
davidc at framli.eu
Wed Nov 9 17:34:36 UTC 2016
On 09/11/2016 10:47, Enwei Zhang wrote:
> Hello,
> For now, all slots are provided by ubuntu-core. I saw the concept of
> App-provided slots from
> https://github.com/snapcore/snapd/blob/master/interfaces/builtin/basedeclaration.go#L72
> But I didn't find any guidance/document about how to do that.
> Could you please help advise?
I don't think we have a document for this yet, except the general
interfaces overview that only mentions it as a possibility (
http://snapcraft.io/docs/core/interfaces ).
As far as I know, only two snaps are providing their own slots: the core
snap and bluez.
If it can help in the meantime, the source code I've found for the bluez
snap is at:
http://bazaar.launchpad.net/~bluetooth/bluez/snap-core-rolling/files
CCing Morphis and Zyga for more information.
Cheers,
David
> Thanks so much.
>
> Br
> Enwei
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161109/7ff89b48/attachment.html>
More information about the Snapcraft
mailing list