how to make a snap of usbutils (i.e. lsusb)
Mark Shuttleworth
mark at ubuntu.com
Thu Mar 3 20:41:48 UTC 2016
A snap is made of parts. Some of those parts can be things other people
defined (like a library from github that you want) and others reflect
the pieces of your app.
In your case, just make a part ("mystuff") and use stage-packages (iirc)
to say you want the bits from usbutils staged for your part. It's fine
to have a snap that has a single part.
Mark
On 03/03/16 06:31, Chad Young wrote:
> Hello
>
> I want to add the functionality of lsusb and\or lspci to snappy as its not
> installed in snappy natively. With that in mind, I am trying to build a
> snap that will install the deb package (and dependences) into the system so
> that I can run them from the command line
>
> I think I would use "build packages" with snapcraft but I keep getting a
> "parts" error, btw I have not defined a "parts" section because I have no
> clue how to do that when all I want are packages. I also read about using
> "stage-packages" but that makes even less sense to me given that I still
> have to have a "parts" section.
>
> Any help would be appreciated
>
> Thanks,
> Chad
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160303/69c73c0d/attachment.html>
More information about the snappy-app-devel
mailing list