<div dir="ltr">Hi,<div><br></div><div>If I want to define "executables" and "writable-data" for the same snap application, what should be the correct way of writing the snapcraft yaml?</div><div><br></div><div>Currently, according to the document at <a href="https://github.com/snapcore/snapd/wiki/Content-Interface">https://github.com/snapcore/snapd/wiki/Content-Interface</a></div><div><br></div><div><div>slots:</div><div> content:</div><div> content: writable-data</div><div> write: </div><div> - $SNAP_DATA</div></div><div><br></div><div>There are two "content" there, and it confuses the developers. Which one is customizable?</div><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 22, 2016 at 2:25 AM, Jacek Nykis <span dir="ltr"><<a href="mailto:jacek.nykis@canonical.com" target="_blank">jacek.nykis@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 21/12/16 17:43, Jacek Nykis wrote:<br>
> On 21/12/16 17:22, Pat McGowan wrote:<br>
>> The documentation on sharing writable data was updated last week, notably<br>
>> saying this works in version 2.19.1 and later. There is also a<br>
>> recommendation to not use subfolders. 2.20.1 is available from xenial<br>
>> proposed.<br>
>><br>
>> <a href="https://github.com/snapcore/snapd/wiki/Content-Interface" rel="noreferrer" target="_blank">https://github.com/snapcore/<wbr>snapd/wiki/Content-Interface</a><br>
>><br>
>> Hope it helps<br>
>> Pat<br>
><br>
> Thanks for suggestion Pat.<br>
><br>
> I saw that page but I am trying to share read only data. It does not<br>
> work in 2.17, I also tried with 2.20.1 without luck.<br>
><br>
> I am trying to share single directory containing one file.<br>
><br>
> Regards,<br>
> Jacek<br>
<br>
</span>Thank you everybody for help, especially zyga on rocketchat!<br>
<br>
He was able to clarify things for me and provider workaround. I added<br>
info to the bug in case others hit this problem:<br>
<a href="https://bugs.launchpad.net/snappy/+bug/1650671/comments/2" rel="noreferrer" target="_blank">https://bugs.launchpad.net/<wbr>snappy/+bug/1650671/comments/2</a><br>
<br>
Regards,<br>
Jacek<br>
<br>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">XiaoGuo, Liu </div></div></div></div>
</div>