[Dragonboard410c] Ubuntu OS Build Issues, and Support

2017-02-21 Thread Sunny Bhayani
Hi Ogra, Appreciate for your help. > hi, > Am Freitag, den 17.02.2017, 10:06 + schrieb Sunny Bhayani: > > > > > > You are correct that in the prebuilt image (Ubuntu OS) for > > Dragonboard, the Wifi > > module is auto-loaded during boot. But in our case, this does not > > happen. > > > > So c

snapd REST API documentation

2017-02-21 Thread Robert Ancell
Hi all, I've spent some time updating the snapd REST API documentation for snapd [1]. It should be now pretty comprehensive. If you've looked at these docs in the past and found information missing, please look again. (Of course, if you're directly using this API please consider the Go library wi

Re: Position-independent code and Ubuntu 16.10

2017-02-21 Thread Joseph Rushton Wakeling
On 22/02/17 00:08, Seth Arnold wrote: Libraries are usually compiled as position independent code; this has not changed. OK, fair enough. In my case I think it was the C-library parts of the D standard library that were being compiled without PIC. Seems OK to assume this may have been a pro

Re: Position-independent code and Ubuntu 16.10

2017-02-21 Thread Seth Arnold
On Tue, Feb 21, 2017 at 11:01:48PM +0100, Joseph Rushton Wakeling wrote: > OK, thanks for the clarification. So this raises the question ... > can/should snapcraft ensure this option is used when building snap packages? > > It's obviously not an issue for most apps, but any snap exposing a > deve

Re: New stable "core" and "ubuntu-core" snaps released

2017-02-21 Thread Manik Taneja
On Tue, Feb 21, 2017 at 9:25 AM, Paul Larson wrote: > > 5. disable updates (for added paranoia, because yes I really did see a > stable update to a snap that triggered a reboot in the middle of a > test once!) > how are you disabling updates? fyi, the systemd.update-timer is no more.. /manik --

Re: Position-independent code and Ubuntu 16.10

2017-02-21 Thread Joseph Rushton Wakeling
On 21/02/17 22:47, Seth Arnold wrote: On Mon, Feb 20, 2017 at 10:12:25PM +0100, Joseph Rushton Wakeling wrote: First, I'd thought that Ubuntu 16.04's GCC already generated position-independent code by default, but was this in fact only introduced with 16.10 ... ? Correct, this was changed for

Re: Position-independent code and Ubuntu 16.10

2017-02-21 Thread Seth Arnold
On Mon, Feb 20, 2017 at 10:12:25PM +0100, Joseph Rushton Wakeling wrote: > First, I'd thought that Ubuntu 16.04's GCC already generated > position-independent code by default, but was this in fact only introduced > with 16.10 ... ? Correct, this was changed for 16.10: https://wiki.ubuntu.com/Yakke

Re: network namespaces

2017-02-21 Thread Jamie Strandboge
On Tue, 2017-02-21 at 12:39 +0100, Luca Dionisi wrote: > Are network namespaces supported in snaps? > > In my RaspberryPi3 I have a snap which has been installed with --devmode. > Inside the snap I have exposed the command 'bash'. I exec that bash as > root. Then I try to create a network namespac

Re: New stable "core" and "ubuntu-core" snaps released

2017-02-21 Thread Paul Larson
On Mon, Feb 20, 2017 at 2:55 PM, Selene Scriven wrote: > What's happening is a host server is checking for updates to > everything in a default install. When updates are found, the > host builds a brand new set of images, flashes them to every > supported device, and runs a large test suite on ea

Re: snap connect myapp:camera out-of-the-box

2017-02-21 Thread Gustavo Niemeyer
Okay, agreed on all points. The near-to-medium term plan is to have snaps able to request access to particular interfaces on demand. We have a good pipeline to implement this already. We just need to connect the dots. On Tue, Feb 21, 2017 at 2:12 PM, Jamie Strandboge wrote: > On Tue, 2017-02-2

Re: snap connect myapp:camera out-of-the-box

2017-02-21 Thread Jamie Strandboge
On Tue, 2017-02-21 at 13:23 -0300, Gustavo Niemeyer wrote: > Actually, we do have a mechanism that enables the automatic connections in > those cases, and we can enable it in sensible cases, even for the camera. > > The question we should ask here is this: what is the snap purpose?  Is it > clear

Re: snap connect myapp:camera out-of-the-box

2017-02-21 Thread Gustavo Niemeyer
Actually, we do have a mechanism that enables the automatic connections in those cases, and we can enable it in sensible cases, even for the camera. The question we should ask here is this: what is the snap purpose? Is it clear from the snap name and description that this is using a camera? If t

Re: snap connect myapp:camera out-of-the-box

2017-02-21 Thread Oliver Grawert
hi, Am Dienstag, den 21.02.2017, 11:03 -0500 schrieb Dev Dev: > Hi, > > Anyone can give me more information (ETA, how it will works) about > the > connection to camera. Right now, I need to ask my users who installed > myapp via the Software Center to open a terminal and run: > sudo snap connect m

snap connect myapp:camera out-of-the-box

2017-02-21 Thread Dev Dev
Hi, Anyone can give me more information (ETA, how it will works) about the connection to camera. Right now, I need to ask my users who installed myapp via the Software Center to open a terminal and run: sudo snap connect myapp:camera It needs to be automagically connected. I reported this issue

Re: Experimental Python interpreter snap

2017-02-21 Thread Barry Warsaw
On Feb 21, 2017, at 09:30 PM, James Henstridge wrote: >So we might be able to do a single package that can both serve as a >runtime for other snaps and as a useful Python development >environment. It would be interesting to see, but my tendency is to want separate interpreter environments for dif

Re: Experimental Python interpreter snap

2017-02-21 Thread Barry Warsaw
On Feb 21, 2017, at 07:35 PM, James Henstridge wrote: >It probably wouldn't be too difficult to build a snap tracking 3.7 >development, yeah. Now that CPython development has moved to GitHub, I wonder if this isn't something we could automate, with a mirror on Launchpad. On Feb 21, 2017, at 07:5

Re: the ppp interface (and general renaming/transitioning of interfaces)

2017-02-21 Thread Oliver Grawert
hi, On Di, 2017-02-21 at 12:08 +, Jenny Murphy wrote: > Hi, >  Just about this ppp interface. > I would like to use it from the snap I have developed myself. > So how to I invoke it ? > At the moment I am calling the command line pppd from my snap java > code. > However I think I should be doin

Re: Experimental Python interpreter snap

2017-02-21 Thread Sergio Schvezov
On Tue, 21 Feb 2017 19:53:31 +0700, Stuart Bishop wrote: > On 21 February 2017 at 18:35, James Henstridge > wrote: > >>> You could probably also get the pip in your snap to install packages >>> to $SNAP_USER_DATA or $SNAP_DATA if run as root. Although most devs >>> would stick to using virtualenvs

Re: Experimental Python interpreter snap

2017-02-21 Thread James Henstridge
On 21 February 2017 at 20:53, Stuart Bishop wrote: > On 21 February 2017 at 18:35, James Henstridge > wrote: > >>> You could probably also get the pip in your snap to install packages >>> to $SNAP_USER_DATA or $SNAP_DATA if run as root. Although most devs >>> would stick to using virtualenvs outs

Re: Experimental Python interpreter snap

2017-02-21 Thread Stuart Bishop
On 21 February 2017 at 18:35, James Henstridge wrote: >> You could probably also get the pip in your snap to install packages >> to $SNAP_USER_DATA or $SNAP_DATA if run as root. Although most devs >> would stick to using virtualenvs outside of the snap for this, >> assuming a modern enough Python

Re: the ppp interface (and general renaming/transitioning of interfaces)

2017-02-21 Thread Jenny Murphy
Hi, Just about this ppp interface. I would like to use it from the snap I have developed myself. So how to I invoke it ? At the moment I am calling the command line pppd from my snap java code. However I think I should be doing something different to invoke ppp from within the core snap ? I am not

network namespaces

2017-02-21 Thread Luca Dionisi
Are network namespaces supported in snaps? In my RaspberryPi3 I have a snap which has been installed with --devmode. Inside the snap I have exposed the command 'bash'. I exec that bash as root. Then I try to create a network namespace. It fails. $ sudo myapp.bash # ip netns add ns0 open("/proc/se

Re: Experimental Python interpreter snap

2017-02-21 Thread James Henstridge
On 21 February 2017 at 16:57, Stuart Bishop wrote: > On 20 February 2017 at 11:41, James Henstridge > wrote: >> On 20 February 2017 at 10:45, XiaoGuo Liu wrote: >>> Hi James, >>> >>> Nice. This is a nice example showing how to reduce a python snap package. A >>> few days ago, I also made a smal

Re: xdg-open doesn't work only in xubuntu (v2)

2017-02-21 Thread Vasilisc
20.02.2017 16:56, Oliver Grawert пишет: ah, sorry, i was wrong about the $SNAP in the PATH ... i grabbed your example and changed it like: http://paste.ubuntu.com/24033840/ this definitely works on a unity desktop, i am not sure about desktops that deliberately replace xdg-open with something

Re: Experimental Python interpreter snap

2017-02-21 Thread Stuart Bishop
On 20 February 2017 at 11:41, James Henstridge wrote: > On 20 February 2017 at 10:45, XiaoGuo Liu wrote: >> Hi James, >> >> Nice. This is a nice example showing how to reduce a python snap package. A >> few days ago, I also made a small example to make use of the python3 coming >> with the core