Setting environment variables from within snapcraft.yaml

2017-03-20 Thread Joseph Rushton Wakeling
Hello folks, Is it possible to set environment variables to be used when creating a part of a snap? I guess one could use the `prepare:` scriptlet to do something like `export MY_VAR=whatever` but I'd like the environment variable to be set before I even pull the source. (If you're

Re: Status of snapd on Arch Linux

2017-03-20 Thread Joseph Rushton Wakeling
On 20/03/17 23:14, Gustavo Niemeyer wrote: Most likely the snap was partly configured to run elsewhere, but not entirely. We really need to have someone looking into this package, preferably just restoring the standard /snap path. Can you rebuild the package and try that out? Would be a nice

Re: Triggering CI/snap builds on changes to snapcraft parts

2017-03-20 Thread Joseph Rushton Wakeling
On 20/03/17 11:37, Evan Dandrea wrote: Do you need better than day-level resolution? If not, I'd suggest using Travis' cron feature to create nightly builds: https://docs.travis-ci.com/user/cron-jobs/ Does that actually solve the problem described, though? I ask because as Loïc stated it,

Re: udev rules

2017-03-20 Thread Jamie Strandboge
On Mon, 2017-03-20 at 14:21 +0100, Loïc Minier wrote: > Hi! > > I saw a couple of software pieces that rely on udev rules to work; I guess > these use cases need design to be supported in snaps; I wanted to share > some specifics below. > > 1) aksusbd is a Gemalto daemon to assert presence of a

Re: Status of snapd on Arch Linux

2017-03-20 Thread Gustavo Niemeyer
Ah, please don't worry then! Thanks for the report. We'll get this sorted out and get back to you. On Mon, Mar 20, 2017 at 7:41 PM, Joseph Rushton Wakeling < joseph.wakel...@webdrake.net> wrote: > On 20/03/17 23:14, Gustavo Niemeyer wrote: > >> Most likely the snap was partly configured to

Re: Status of snapd on Arch Linux

2017-03-20 Thread Joseph Rushton Wakeling
On 20/03/17 20:21, Sergio Schvezov wrote: Does it work if you create a symlink of /var/lib/snapd/snap to /snap? One of the things classic confined snaps require is a fixed path to ld in core Unfortunately not: still 'execv failed: No such file or directory' :-( -- Snapcraft mailing list

Re: Status of snapd on Arch Linux

2017-03-20 Thread Gustavo Niemeyer
On Fri, Mar 17, 2017 at 8:32 PM, Joseph Rushton Wakeling < joseph.wakel...@webdrake.net> wrote: > Hello folks, > > Is there anyone here working on snapd on Arch? > > I ask because I recently tried it out on a fresh Arch install and ran into > some issues. > > Installing snaps works fine in

Re: Status of snapd on Arch Linux

2017-03-20 Thread Joseph Rushton Wakeling
On 20/03/17 21:39, Gustavo Niemeyer wrote: * installing my ldc2 snap (`snap install --classic --candidate ldc2`) worked fine (it shows up in `snap list` as expected) but if I try to run /var/lib/snapd/snap/bin/ldc2 directly I get an error message: execv failed: No such file

Re: Status of snapd on Arch Linux

2017-03-20 Thread Sergio Schvezov
On Sat, 18 Mar 2017 00:32:38 +0100, Joseph Rushton Wakeling wrote: >* installing my ldc2 snap (`snap install --classic > --candidate ldc2`) worked > fine (it shows up in `snap list` as expected) but if I try to run > /var/lib/snapd/snap/bin/ldc2 directly I get an error message: > >

Re: Best Practice for building modules and including them in Kernel Snap

2017-03-20 Thread Oliver Grawert
hi, On Mi, 2017-03-15 at 12:29 -0700, Luke Williams wrote: > Hello, > > What are the best practices for building and including kernel modules > with > kernel snaps? > > Prior to snapcraft 2.25, when building kernel snaps, the modules > would be > located in parts/kernel/install/lib/modules// so

Re: Netplan replug function is incompatible with ath9k_htc module

2017-03-20 Thread Oliver Grawert
hi, On Di, 2017-03-14 at 11:29 +0100, Loïc Minier wrote: >  > (So you want to test an updated netplan binary.) > > How can we repack a core snap with different code per netplan? add netplan to a PPA you own ... branch https://github.com/snapcore/core edit the Makefile and add an entry for your

Private Placement

2017-03-20 Thread Mr. Ernest Pinto
Good day, Welcome to our Private Placement Portfolio. I am a Staff of a Venture Capital Firm specializing in Growth Capital Investments/Loans.We seek to invest in Projects with Public and Private sectors in a broad range of areas including Real estate, Agriculture, Energy, Oil and Gas,

Fotoxx snap package

2017-03-20 Thread Mike Cornelison
Apparently more complex than your tutorial. Any help on this? Here is my .yaml file and the result when trying to execute the snap. --- name: fotoxx-snap version: '17.04' summary: edit photos and manage a large

udev rules

2017-03-20 Thread Loïc Minier
Hi! I saw a couple of software pieces that rely on udev rules to work; I guess these use cases need design to be supported in snaps; I wanted to share some specifics below. 1) aksusbd is a Gemalto daemon to assert presence of a license USB dongle; it requires USB access, and also these udev

Re: How to convert the initrd.img during buiding the kernel snap.

2017-03-20 Thread Oliver Grawert
hi, On Do, 2017-03-16 at 21:22 +0800, Madper Xie wrote: > Hi all, > > My u-boot do not support the format of the initrd.img. So I need to > manually convert it via mkimage every time. > > I tried to use scriptlet to convert the initrd.img file but failed. > > ``` > install: | >   

Re: Contributing cloud parts

2017-03-20 Thread Didier Roche
Le 17/03/2017 à 19:13, Tim Süberkrüb a écrit : Hey, Hey Tim, what is the process of contributing a cloud part to https://wiki.ubuntu.com/snapcraft/parts (is it open for community contributions?)? Are there any plans for having a real parts repository instead of a wiki page for cloud

Re: [Dragonboard410c] Ubuntu OS Build Issues, and Support

2017-03-20 Thread Oliver Grawert
hi, Am Montag, den 20.03.2017, 06:04 + schrieb Sunny Bhayani: > Hi Oliver, > > Thank you for your reply. > > > hi, > > the image has not properly being initialized ... else you would > only > > get the reboot notifications after the first upgrade of the core > snap > > (i.e. your root

Re: Fotoxx snap package

2017-03-20 Thread Michael Hall
It sounds like you probably want to use the desktop-gtk3 helper part, it will pull in all the necessary dependencies for a Gtk3 app, plus give you a desktop-launch script that will setup any needed paths or environment variables for your app to run. Here's an article that explains what desktop

Re: Connecting snap to keyring

2017-03-20 Thread Kyle Fazzari
On 03/20/2017 08:23 AM, Jan Olszak wrote: > Hi there! > Is there anything like "Secret Service" interface? An interface to > gnome-keyring or maybe any other keyring? Not yet[1]. If you're by any chance familiar with that API, I doubt the interface would be difficult to write. [1]:

Re: Snap tracks for Kubernetes

2017-03-20 Thread Daniel Manrique
On Mon, Mar 20, 2017 at 10:45 AM, George Kraft wrote: > Hey folks, > > We're working on a collection of snaps for Kubernetes that we'd like to > have tracks added to: > - kubectl > - kube-apiserver > - kube-controller-manager > - kube-scheduler > - kubelet > -

Connecting snap to keyring

2017-03-20 Thread Jan Olszak
Hi there! Is there anything like "Secret Service" interface? An interface to gnome-keyring or maybe any other keyring? Thanks, Jan -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft

Snap tracks for Kubernetes

2017-03-20 Thread George Kraft
Hey folks, We're working on a collection of snaps for Kubernetes that we'd like to have tracks added to: - kubectl - kube-apiserver - kube-controller-manager - kube-scheduler - kubelet - kube-proxy - cdk-addons All of these need tracks for 1.5, 1.6, and 1.7. Can someone create these for us?

Re: systemd-resolved and snaps

2017-03-20 Thread Kyle Fazzari
On 02/23/2017 02:26 PM, Steve Langasek wrote: > Hi Kyle, > > On Thu, Feb 23, 2017 at 01:58:07PM -0800, Kyle Fazzari wrote: >> Hey all. > >> I've received a bug report on a snap where the user was running a 16.10 >> Server install with the snap in question, and getting DNS errors. I've >>