Snapcraft: arch-specifc snaps on your development machine?

Michael Nelson michael.nelson at canonical.com
Tue Sep 8 05:20:33 UTC 2015


On Mon, Sep 7, 2015 at 5:48 PM Mark Shuttleworth <mark at ubuntu.com> wrote:

> On 07/09/15 07:51, Michael Nelson wrote:
> > So, before I spend too much time on things I'm not very familiar with, is
> > there something I could do differently above, and/or are there already
> > plans for snapcraft to make creating snaps on your development machine
> > easier (and what are they)?
>
> I'd be interested in hearing if this works:
>
>  * use your snappy SD card on the RPi
>  * install LXD as a framework snap
>  * make an Ubuntu machine container (analogous to your chroot-on-AMD64)
>

Worked so far - but I then needed to relocate while it was downloading, and
since I don't have byobu/screen on my snappy device, I had to stop the
download.

I think this is a good solution (and I'll verify it works once home again),
but should add another reason for asking my original question: I do nearly
all of my development work on a (well-spec'd) cloud instance, which gives
me great bandwidth for downloading images and doing builds - all I need is
an ssh connection. I didn't mention that earlier, as I realise it's not
necessarily something that everyone wants/needs, but I'd love to be able to
do create the snap on my dev instance, and then just scp it to my local
device when ready.


>  * build your snap in there
>
> This way, you'd not be switching SD cards, and you don't have to deal
> with cross-build issues.
>

Yep, it does sound like a good way forward.

Thanks


>
> Mark
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20150908/77148713/attachment.html>


More information about the snappy-app-devel mailing list