how to make a snap of usbutils (i.e. lsusb)
Chad Young
chadbyoung at gmail.com
Sat Mar 5 13:39:54 UTC 2016
Thanks David
I am off to a good start now. Below is the actual text in the file. There
is a still one issue, the files were not added to the path. I will take a
stab at figuring out the path part :)
7 icon: icon.png # A path to an icon for the package
8
9 parts:
10 utilities:
11 plugin: nil
12 stage-packages:
13 - usbutils
On Thu, Mar 3, 2016 at 8:13 PM, David Chen <david.chen at canonical.com> wrote:
> Hi Chad,
>
> You can try below for your snapcarft.yaml:
> ========
> parts:
> tools:
> plugin: nil
> stage-packages:
> - pciutils
> - xxx
> - yyy
> - zzz
> ========
> Let me know if it solves your problem.
>
> Regards,
>
> -David
>
>
> On 03/03/2016 10:31 PM, 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
>
>
>
>
>
>
>
> --
> * DAVID CHEN * Technical Lead | Field Engineering | UES
> RM D, 46F, No. 7, Sec. 5, Xin-Yi Rd.,
> Taipei City, Taiwan 11049
> *O* +(886) 2 8729-6885
> *M* +(886) 988-858-524
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160305/d5444077/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: footer_logo.png
Type: image/png
Size: 1737 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160305/d5444077/attachment.png>
More information about the snappy-app-devel
mailing list