<div dir="ltr">Hi Simon,<div><br></div><div>Thanks a lot for your reply. On 15.04, I installed docker, and inside docker, I installed a Ubuntu Server so that I can compile for armhf. A lot of developers may not have the luxury to have two arm devices. I am thinking your second option could be more realistic. I do not have a Ubuntu Core device yet. So, the right command is:</div><div><br></div><div>$ snap install --devmode --edge classic</div><div><br></div><div>In this case, it enters to the classic ubuntu mode, rightt?</div><div><br></div><div>By the way, how to exit the mode? Previously, I saw some instructions like:</div><div><br></div><div><div>$ sudo snappy enable-classic</div><div>$ snappy shell classic</div><div>$ sudo snappy destroy-classic</div></div><div><br></div><div>I think they were for the 15.04 Ubuntu core. </div><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 24, 2016 at 1:44 PM, Simon Fels <span dir="ltr"><<a href="mailto:simon.fels@canonical.com" target="_blank">simon.fels@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 <a href="tel:24.08.2016%2007" value="+862408201607">24.08.2016 07</a>:34, XiaoGuo Liu wrote:<br>
> Hi,<br>
><br>
</span>> I just now successfully used <a href="http://launchpad.net" rel="noreferrer" target="_blank">launchpad.net</a> <<a href="http://launchpad.net" rel="noreferrer" target="_blank">http://launchpad.net</a>> to<br>
<span class="">> build snaps for ARM architecture. However, the precondition is that it<br>
> works on my desktop well. I am thinking whether there is an alternative<br>
> way to compile snaps for armhf in view of the fact that raspberry is now<br>
> supporting the architecture. I used to come with a docker solution to it<br>
> for 15.04. Now docker snap is not there any more. Can anyone tell me how<br>
> to build for armhf snaps?<br>
<br>
</span>I've installed Ubuntu Server for that purpose on one of my pi2 machines<br>
and doing all builds there. The classic snap from the store (not sure<br>
how far that is, but installing with snap install --devmode --edge<br>
classic should work) would be another possible way to build on an arm<br>
device as it gives you a full apt-get'able system on an all-snap one.<br>
<br>
regards,<br>
Simon<br>
<span class="HOEnZb"><font color="#888888"><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>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">XiaoGuo, Liu (刘晓国)<div>Mobile: +86-13911181302</div></div></div>
</div>