Re: Slow snap build on Ubuntu Core device

2017-01-10 Thread Luther Goh Lu Feng
Based on the screenshot, your download speed for the packages seems to be very slow. Perhaps you want to use a faster mirror. Maybe you can try netselect-apt as mentioned here[1]. HTH. Thanks. -- Luther [1] https://www.unixmen.com/find-fastest-mirror-debian-derivatives/ On Tuesday,

Re: opengl on ubuntu core 16 on artik 10?

2017-01-10 Thread Liming Wang
On Thu, Jan 05, 2017 at 11:05:56AM -0800, Dan Kegel wrote: >On Thu, Jan 5, 2017 at 10:50 AM, Zygmunt Krynicki > wrote: >>> has anyone tried artik 10 with ubuntu core 16, >>> and what's the story with opengl there? >> >> I don't have access to that hardware so I

Re: opengl on ubuntu core 16 on artik 10?

2017-01-10 Thread Dan Kegel
> Did you run the oxide-eglfs-snap example on Pi? If so, do you still need > other platform to run opengl on ubuntu core? Thank you for the links! The Pi is awesome as a starting point for users, but is underpowered for some of our applications. It's attractive to have a faster/fatter

Re: Interface management in the context of snap in a classical Debian install

2017-01-10 Thread Jamie Strandboge
On Tue, 2017-01-10 at 03:32 +, Luther Goh Lu Feng wrote: > Bumping this up again since I didnt seem to have received a reply. Was my > question sufficiently clear? > Sorry no one responded sooner. At this time, snapd on Debian[0] puts all snaps in devmode so there are far fewer restrictions

Re: opengl on ubuntu core 16 on artik 10?

2017-01-10 Thread Liming Wang
On Tue, Jan 10, 2017 at 08:36:33AM -0800, Dan Kegel wrote: >> Did you run the oxide-eglfs-snap example on Pi? If so, do you still need >> other platform to run opengl on ubuntu core? > >Thank you for the links! > >The Pi is awesome as a starting point for users, but is underpowered >for some of

To handle the absolute path in compiling time

2017-01-10 Thread Jin Hsieh
Hello All, We are trying to snap up a mail server, by referring to the design of a popular solution, there are several services need to be packaged as parts. The major one is the postfix, it uses an install script to deploy the built binary, libraries and the configuration files, the problem

Re: opengl on ubuntu core 16 on artik 10?

2017-01-10 Thread Kevin Gunn
On Tue, Jan 10, 2017 at 12:04 PM, Dan Kegel wrote: > Hi Kevin, > having a preview of the mir stack is attractive. > Would that mean snaps that use opengl would not need to carry the > boards' opengl library? > correct, the snaps rely on the gl drivers provided by the system. >

Re: snapd 2.20 release available in {xenial,yakkety}-updates

2017-01-10 Thread Christian Ehrhardt
On Fri, Jan 6, 2017 at 10:48 AM, Michael Vogt wrote: > > Can you say a few words about classic confinement? I didn't see doc... > > Thanks for this reminder, I should have included the link that David > provided to http://snapcraft.io/docs/reference/confinement > >

Re: Issue with ubuntu OS snap first time boot.

2017-01-10 Thread Gustavo Niemeyer
Hi Ajay, That means the communication with the local snapd daemon failed abruptly, which is unusual. Can you tell us a bit more about the environment this is running on, and which image it is? Do you have access to the underlying filesystem somehow (is it an SD card? VM?), in which case can you

Re: Manual update of snap/snapd and core/ubuntu-core

2017-01-10 Thread Jamie Bennett
Hi Jenny, On 09/01/17 at 10:28am, Jenny Murphy wrote: > Hi, > My query is related to a few of the recent discussions regarding versions, > releases and updates/ > > I currently have a Snappy Ubuntu system as follows : > > snap --version gives the following result : > snap2.18.1 > snapd

Re: To handle the absolute path in compiling time

2017-01-10 Thread Michael Hall
You can use /snap//current/ instead of $SNAP. At least from inside the snap's runtime environment that should always point to the current install base. It's not ideal, but it's at least a predictable path you know at build time. Michael Hall mhall...@ubuntu.com On 01/10/2017 12:16 PM, Jin Hsieh

Re: Slow snap build on Ubuntu Core device

2017-01-10 Thread Alan Pope
On 10 January 2017 at 15:28, XiaoGuo Liu wrote: > Currently, I am try to build armhf snap on Raspberry Pi device. I find that > the build process is extremely slow, and sometimes, it shows that it will > take more than 1 hour to get it down. I cannot set up the VPN on

Re: snapd and semaphores

2017-01-10 Thread Jamie Strandboge
On Wed, 2017-01-04 at 13:39 +0100, Olivier Tilloy wrote: >  > Here is the bug report: https://launchpad.net/bugs/1653955 Thanks! The fix is in master and will bi in snapd 2.21. -- Jamie Strandboge | http://www.canonical.com signature.asc Description: This is a digitally signed

Issue with ubuntu OS snap first time boot.

2017-01-10 Thread Ajay Pandey
Hi All, We are facing issue with the Ubuntu OS snap first time boot console-conf. We have generated the id_rsa.pub key and put it in the launchpad.net as well as the login.ubuntu.com profiles. Please find below the error that we are getting: Profile setup Enter an email address from

Re: netplan and post-up/pre-down scripts

2017-01-10 Thread Martin Pitt
Hello Mike, Mike Pontillo [2017-01-06 10:12 -0800]: >Recently, I was working on a project that led me to become frustrated > with the current state of `systemd` and `ifupdown` (e.g. > /etc/network/interfaces or /e/n/i) in Xenial. I remembered that > `netplan`[1] was under development, so I

Re: snapd and semaphores

2017-01-10 Thread Olivier Tilloy
On Tue, Jan 10, 2017 at 2:41 PM, Jamie Strandboge wrote: > On Wed, 2017-01-04 at 13:39 +0100, Olivier Tilloy wrote: >> >> Here is the bug report: https://launchpad.net/bugs/1653955 > > Thanks! The fix is in master and will bi in snapd 2.21. Excellent, thanks Jamie for your

Re: netplan and post-up/pre-down scripts

2017-01-10 Thread Mike Pontillo
Hi Martin, Thanks for the reply. >Let me explain my use case: when an interface goes up or down, I want > to > > be able to do event-driven things with the network configuration, such as > > add or remove routes, run a DHCP client, etc. > > These two and more are already supported by