<div dir="ltr">Hi,<div> So now I am ready to go with snapcraft 2.22.1.</div><div><br></div><div>I think upgrading my snapcraft.yaml should be pretty straight forward?</div><div><br></div><div>This is what I have :</div><div><br></div><div><div><span style="font-size:12.8px"><b>services:</b></span></div><div><span style="font-size:12.8px"><b> main:</b></span></div><div><span style="font-size:12.8px"><b> start: bin/wrapper</b></span></div><div><span style="font-size:12.8px"><b> description: EpiSensor Gateway Application</b></span></div><div><span style="font-size:12.8px"><b><br></b></span></div><div><span style="font-size:12.8px"><b>parts:</b></span></div><div><span style="font-size:12.8px"><b> move-scripts:</b></span></div><div><span style="font-size:12.8px"><b> plugin: copy</b></span></div><div><span style="font-size:12.8px"><b> files:</b></span></div><div><span style="font-size:12.8px"><b> scripts: scripts</b></span></div><div><span style="font-size:12.8px"><b> main:</b></span></div><div><span style="font-size:12.8px"><b> plugin: ant</b></span></div><div><span style="font-size:12.8px"><b> source: .</b></span></div><div><span style="font-size:12.8px"><b> wrapper:</b></span></div><div><span style="font-size:12.8px"><b> plugin: make</b></span></div><div><span style="font-size:12.8px"><b> source: .</b></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">So I think my parts section will be ok. But I need to re-do the services section to :</span></div><div><span style="font-size:12.8px"><br></span></div><div><pre class="gmail-highlight" style="box-sizing:border-box;font-family:"ubuntu mono";font-size:16px;border:1px solid rgb(205,205,205);margin-top:0.5em;margin-bottom:0.5em;padding:0.7em 1em;vertical-align:baseline;white-space:pre-line;word-wrap:break-word;direction:ltr;line-height:1.5;overflow:hidden;border-radius:4px;background-color:rgb(247,247,247);color:rgb(51,51,51);width:756.062px"><code style="box-sizing:border-box;font-family:"ubuntu mono",consolas,monaco,"lucida console","courier new",courier,monospace;border:0px;margin:0px;padding:0px;vertical-align:baseline;white-space:pre-wrap;word-spacing:normal;word-wrap:break-word;direction:ltr;line-height:1.5;color:inherit"><span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">apps</span><span class="gmail-pi" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">:</span>
<span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">daemon1</span><span class="gmail-pi" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">:</span>
<span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">command</span><span class="gmail-pi" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">:</span> <span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">bin/wrapper</span>
<span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">daemon</span><span class="gmail-pi" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">:</span> <span class="gmail-s" style="box-sizing:border-box;border:0px;margin:0px;padding:0px;vertical-align:baseline">simple</span></code></pre></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Any other suggestions ?</span></div><div><span style="font-size:12.8px"><br></span></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 December 2016 at 12:49, Sergio Schvezov <span dir="ltr"><<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
El 07/12/16 a las 08:54, Jenny Murphy escribió:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
Up to now I had a target platform running Snappy Ubuntu 15.04.<br>
I was building the .snap to run on this using snapcraft 1.1.0. The platform I used to build the .snap was running Ubuntu 14.04.<br>
To summarize, I was running snapcraft 1.1.0 on Ubuntu 14.04 and running the resulting .snap on Ubuntu 15.04.<br>
<br>
Now I have access to a target platform running Snappy Ubuntu 16.04.<br>
So I think now I need to use a newer version of snapcraft. Can you advise which version. Also what version of Ubuntu can this version of snapcraft be installed on?<br>
</blockquote>
<br></span>
Install Ubuntu Xenial Xerus 16.04; then `apt update` followed by `apt install snapcraft`. You should be getting the 2.x versions of snapcraft.<br>
<br>
I also recommend signing up to <a href="mailto:snapcraft-announce@lists.snapcraft.io" target="_blank">snapcraft-announce@lists.snapc<wbr>raft.io</a>[1] to get updates on snapcraft releases (among other announcements). If you need help you are also welcome to join the snapcraft RocketChat channel on <a href="https://rocket.ubuntu.com/channel/snapcraft" rel="noreferrer" target="_blank">https://rocket.ubuntu.com/chan<wbr>nel/snapcraft</a><br>
<br>
Cheers<br>
Sergio<br>
<br>
[1] <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft-announce" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft-announce</a><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">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/mailm<wbr>an/listinfo/snapcraft</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div><strong>Jenny Murphy</strong></div>
<div><strong>EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland</strong></div>
<div>jenny.murphy<a href="mailto:jenny.murphy@episensor.com" target="_blank">@episensor.com</a> t | +353 (0) 61 512 511 w | <a href="http://www.episensor.com/" target="_blank">http://www.episensor.com</a></div></div>
</div>