Re: Does anyone know how to build snap for ARM architecture?

2016-08-24 Thread XiaoGuo Liu
Hi Vicamo, That is very good. I will try it later on. By the way, I have successfully compiled armhf snap by using "classic" application. It is very convenient :) Thanks & best regards, XiaoGuo On Thu, Aug 25, 2016 at 11:16 AM, Vicamo Yang wrote: > Hi, > > I got some docker images in https://h

Re: Does anyone know how to build snap for ARM architecture?

2016-08-24 Thread Vicamo Yang
Hi, I got some docker images in https://hub.docker.com/r/vicamo/ubuntu . Basically all Ubuntu suite-arch combinations are available, so you may want to try snapcraft on them. Dockerfile source code are available in https://github.com/vicamo/docker-brew-ubuntu-core . Feel free to fork your own and

How to assign a hardware in my snap application?

2016-08-24 Thread XiaoGuo Liu
Hi, On Series 16, we need to use interface to make the connection between the Ubuntu core and Snap apps in order to make use of the hardware. Previously, on 15.04, I used the following command do get the hardware assignment: (RaspberryPi2)ubuntu@localhost:~$ sudo snappy hw-assign piglow.sideload

Publishing to the snap store from Travis

2016-08-24 Thread Evan Dandrea
New versions of snapcraft can push a snap right into a channel. With a small wrapper, you can teach Travis to build snaps out of your git commits and release them into edge [1, 2]: https://gist.github.com/evandandrea/c754964bfdfb176844f26f605ebbb8db Your users can then drink from the firehose with

Re: Snappy + root encryption

2016-08-24 Thread Tyler Hicks
On 08/23/2016 06:47 AM, Xavier Pegenaute M2M wrote: > Hi Mark, > > actually, our goal is to provide hardware to be delivered on costumer > premises but for this we need an extra layer of security. This is the > reason we are considering the encryption solution. > > If it is possible our first and

Re: Intropsecting Connected Slots/Plugs From Within a Snap

2016-08-24 Thread Gustavo Niemeyer
There will be a proper way to do that soonish, via snapctl. It's a new tool and mechanism that is being developed under the hook support theme, but that will be generalized after that so that we can have richer interactions between snaps and their mothership. On Wed, Aug 24, 2016 at 12:24 PM, Chr

Intropsecting Connected Slots/Plugs From Within a Snap

2016-08-24 Thread Christopher Arges
>From within a snapped program I'd like to check if all my slots/plugs are connected properly. This way I can either handle functionality different if something is not connected, or inform the user to connect before proceeding. I'm guessing the snapd-control interface contains this functionality,

Re: Snapping Qt 5.7 APPs

2016-08-24 Thread Timo Jyrinki
Hi David! Thanks, seems to work nicely! I think some shortcuts like this are a good workaround as compiling the whole Qt is a huge time consumer. I'm interested in understanding the needs of Qt users (and snappy users interested in Qt), so I'm curious what brings you to using Qt 5.7? If it's the

Re: Does anyone know how to build snap for ARM architecture?

2016-08-24 Thread knitzsche
I have been able to build armhf snaps on my amd64 host using an armhf pbuilder chroot. Cheers, Kyle On 08/24/2016 01:34 AM, XiaoGuo Liu wrote: Hi, I just now successfully used launchpad.net to build snaps for ARM architecture. However, the precondition is that it works

Re: A snap that uses other apps

2016-08-24 Thread Alejandro Vera
Hi... In my /var/lib/snapd/hostfs there are no files. How can Install an app there? I need js-beautify installed using python pip. If I want to distribute my snap inside my company without using devmode, which is the way to access other cli-apps? Thanks :D On Tue, Aug 23, 2016 at 12:18 PM, Zygm

Re: Using snap for application with plugins

2016-08-24 Thread Stuart Bishop
On 19 August 2016 at 20:39, Thomas Voß wrote: > Now that triggers a question for me: How do end users resolve > dependencies of plugins today? > Do they just assume that the downloaded plugins bring along whatever > they need? Or do they rely > on the package manager to resolve dependencies ad h

Re: File permissions within a snap

2016-08-24 Thread Zygmunt Krynicki
> Wiadomość napisana przez Jenny Murphy w dniu > 24.08.2016, o godz. 12:58: > > Hi, > I have a java application built as a .snap. > As part of its normal operation it will create some files (for output). > However this is not successful due to permissions issue : > For example , I tried to cre

File permissions within a snap

2016-08-24 Thread Jenny Murphy
Hi, I have a java application built as a .snap. As part of its normal operation it will create some files (for output). However this is not successful due to permissions issue : For example , I tried to create the file in /home/ubuntu/examples/ : java.io.FileNotFoundException: /home/ubuntu/example

Re: Does anyone know how to build snap for ARM architecture?

2016-08-24 Thread Oliver Grawert
hi, Am Mittwoch, den 24.08.2016, 13:34 +0800 schrieb XiaoGuo Liu: > Hi, > > I just now successfully used 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 ar

Re: Does anyone know how to build snap for ARM architecture?

2016-08-24 Thread XiaoGuo Liu
Hi Loïc, Thanks! Yes, I want to build it for Ubuntu core series 16. I will have a try. Best regards, XiaoGuo On Wed, Aug 24, 2016 at 2:40 PM, Loïc Minier wrote: > Hi, > > On Wed, Aug 24, 2016 at 7:34 AM, XiaoGuo Liu > wrote: > >> I just now successfully used launchpad.net to build snaps for A