Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-15 Thread Dan Kegel
On Thu, Dec 15, 2016 at 2:47 AM, Oliver Grawert  wrote:
> http://pad.lv/1650207

Thanks.  I added a comment there asking for /etc/issue to be classic-ized, too.

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-15 Thread Loïc Minier
For docker, make sure you're using snapd 2.19.1 or newer; the core (OS)
snap from the edge channel works for me:

*lool@localhost*:*~*$ snap list

Name Version Rev  Developer  Notes

core 16.04.1 694  canonical  -

[...]

*lool@localhost*:*~*$ snap version

snap2.19+ppa129.c327d93a-1

snapd   2.19+ppa129.c327d93a-1

series  16

*lool@localhost*:*~*$ sudo docker run --rm -it hello-world

[...]

Hello from Docker!

[...]



On Tue, Dec 13, 2016 at 10:48 PM, Gregory Lutostanski <
gregory.lutostan...@canonical.com> wrote:

> On that note... I haven't been able to get either docker nor lxd working
> on my rpi2/3 anybody else been able to?
> https://bugs.launchpad.net/snappy/+bug/1606510 is what I hit for lxd.
> I didnt know about the classic snap, maybe that will enable me to get lxd
> working, which would be my preferred choice.
>
> --Greg
>
>
> On Tue, Dec 13, 2016 at 3:31 PM, Loïc Minier 
> wrote:
>
>> Hi!
>>
>> On Tue, Dec 13, 2016 at 8:46 PM, Dan Kegel  wrote:
>>
>>> 2) if one were to want to use the official snappy core ubuntu 16.04
>>> for raspberry pi 3 as a development host, is there a reasonable way to
>>> do that?  e.g. installing lxd on it and running an ubuntu desktop
>>> environment inside lxd?
>>>
>>
>> On top of what David Callé said about the classic snap, installing the
>> LXD or Docker snaps and running snapcraft in a container would certainly
>> work! I haven't tried running a full desktop and would love to hear how
>> that fares  :-)
>>
>> Cheers,
>> - Loïc Minier
>>
>> --
>> Snapcraft mailing list
>> Snapcraft@lists.snapcraft.io
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>> an/listinfo/snapcraft
>>
>>
>
> --
> Snapcraft mailing list
> Snapcraft@lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>


-- 
- Loïc
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-15 Thread Oliver Grawert
hi,
Am Donnerstag, den 15.12.2016, 11:38 +0100 schrieb Oliver Grawert:
> > 
> i have filed http://pad.lv/165020 for further discussion ... 

EEK !

paste error http://pad.lv/1650207

sorry ...

ciao
oli

signature.asc
Description: This is a digitally signed message part
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-15 Thread Oliver Grawert
hi,
Am Mittwoch, den 14.12.2016, 14:05 -0800 schrieb Dan Kegel:
> Trying the classic snap now.
> First hitch: /etc/lsb-release is not very classic, my scripts choke
> because it doesn't match normal ubuntu.
> I guess I can try special-casing them to pretend they see xenial
> there.
> 
i have filed http://pad.lv/165020 for further discussion ... if nobody
speaks up there with a reason why we shouldn't preserve the original
data for the classic snap, i'll land a change before end of the week.

good catch !

:)

ciao
oli

signature.asc
Description: This is a digitally signed message part
-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-14 Thread Dan Kegel
Trying the classic snap now.
First hitch: /etc/lsb-release is not very classic, my scripts choke
because it doesn't match normal ubuntu.
I guess I can try special-casing them to pretend they see xenial there.

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-13 Thread Dan Kegel
On Tue, Dec 13, 2016 at 11:52 AM, David Callé  wrote:
> An easy way to achieve this is to install the "classic" snap

Ah, yeah, I'd forgotten about that, thanks.
- Dan

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft


Re: Development environment for debs and snaps for raspberry pi 3?

2016-12-13 Thread David Callé
On 13/12/2016 20:46, Dan Kegel wrote:
> Hi,
> I'm building debs and snaps for a raspberry pi 3.
> Questions:
> 1) when last I did this, https://ubuntu-pi-flavour-maker.org/ was the
> best place to get real ubuntu for the pi 3 (the one listed on the
> ubuntu wiki didn't boot reliably).  Is that still true?  What do other
> folks use?
> 2) if one were to want to use the official snappy core ubuntu 16.04
> for raspberry pi 3 as a development host, is there a reasonable way to
> do that?  e.g. installing lxd on it and running an ubuntu desktop
> environment inside lxd?

An easy way to achieve this is to install the "classic" snap [1]. It
gives you a classic ubuntu environment on top of Ubuntu Core, to install
snapcraft for example.

Here is another piece of doc [2] on this topic, not published yet, that
will be helpful in terms of dev workflow on your pi.

[1]
http://snapcraft.io/docs/build-snaps/build-for-another-arch#on-an-ubuntu-core-device
[2]
https://github.com/ubuntudesign/developer.ubuntu.com/blob/master/templates/pages/core/get-started/developer-setup.md

> 3) more simply, is there a snap for snapcraft yet (aside from whether
> that's useful)?
>
> Thanks,
> Dan
>


-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft