Hi Simon, 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:
$ snap install --devmode --edge classic In this case, it enters to the classic ubuntu mode, rightt? By the way, how to exit the mode? Previously, I saw some instructions like: $ sudo snappy enable-classic $ snappy shell classic $ sudo snappy destroy-classic I think they were for the 15.04 Ubuntu core. Thanks & best regards, XiaoGuo On Wed, Aug 24, 2016 at 1:44 PM, Simon Fels <[email protected]> wrote: > On 24.08.2016 07:34, XiaoGuo Liu wrote: > > Hi, > > > > I just now successfully used launchpad.net <http://launchpad.net> to > > build snaps for ARM architecture. However, the precondition is that it > > works on my desktop well. I am thinking whether there is an alternative > > way to compile snaps for armhf in view of the fact that raspberry is now > > supporting the architecture. I used to come with a docker solution to it > > for 15.04. Now docker snap is not there any more. Can anyone tell me how > > to build for armhf snaps? > > I've installed Ubuntu Server for that purpose on one of my pi2 machines > and doing all builds there. The classic snap from the store (not sure > how far that is, but installing with snap install --devmode --edge > classic should work) would be another possible way to build on an arm > device as it gives you a full apt-get'able system on an all-snap one. > > regards, > Simon > > > -- > Snapcraft mailing list > [email protected] > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/snapcraft > -- XiaoGuo, Liu (刘晓国) Mobile: +86-13911181302
-- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
