content sharing from $SNAP_COMMON

XiaoGuo Liu xiaoguo.liu at canonical.com
Thu Dec 22 04:26:03 UTC 2016


Hi,

Based on the solution, I have created two examples for it:

Share a read-only bianary:
   https://github.com/liu-xiao-guo/content-bin

Share a SNAP_COMMON directory:
   https://github.com/liu-xiao-guo/content-data

I have created a blog at
http://blog.csdn.net/ubuntutouch/article/details/53811829. Hopefully, it is
useful to the rest of the developers.

Best regards,
xiaoguo

On Thu, Dec 22, 2016 at 2:25 AM, Jacek Nykis <jacek.nykis at canonical.com>
wrote:

> On 21/12/16 17:43, Jacek Nykis wrote:
> > On 21/12/16 17:22, Pat McGowan wrote:
> >> The documentation on sharing writable data was updated last week,
> notably
> >> saying this works in version 2.19.1 and later. There is also a
> >> recommendation to not use subfolders. 2.20.1 is available from xenial
> >> proposed.
> >>
> >> https://github.com/snapcore/snapd/wiki/Content-Interface
> >>
> >> Hope it helps
> >> Pat
> >
> > Thanks for suggestion Pat.
> >
> > I saw that page but I am trying to share read only data. It does not
> > work in 2.17, I also tried with 2.20.1 without luck.
> >
> > I am trying to share single directory containing one file.
> >
> > Regards,
> > Jacek
>
> Thank you everybody for help, especially zyga on rocketchat!
>
> He was able to clarify things for me and provider workaround. I added
> info to the bug in case others hit this problem:
> https://bugs.launchpad.net/snappy/+bug/1650671/comments/2
>
> Regards,
> Jacek
>
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
XiaoGuo, Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161222/813fd19a/attachment.html>


More information about the Snapcraft mailing list