ubuntu-image with local gadget snap

Steve Langasek steve.langasek at canonical.com
Wed Sep 28 17:02:40 UTC 2016


Hi David,

On Wed, Sep 28, 2016 at 02:49:42PM +0100, David Harker wrote:
> Hello,

> I'm trying to build an armhf image using ubuntu-image. It is possible to
> use a local gadget snap and, if so, is anyone able to tell me what the
> correct method/syntax is?

I understand that this is supposed to work by using an --extra-snaps
argument pointing to the local file.  So you declare your gadget snap by
name in your model assertion per normal, then pass --extra-snaps
/path/to/gadget.snap, and snap prepare-image should pick this up and DTRT.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.snapcraft.io/archives/devices/attachments/20160928/cc0414fd/attachment.pgp>


More information about the Devices mailing list