how to make a snap of usbutils (i.e. lsusb)
David Chen
david.chen at canonical.com
Fri Mar 4 02:13:05 UTC 2016
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/20160304/88058078/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/20160304/88058078/attachment.png>
More information about the snappy-app-devel
mailing list