<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Chad,<br>
<br>
You can try below for your snapcarft.yaml:<br>
========<br>
parts:<br>
tools:<br>
plugin: nil<br>
stage-packages:<br>
- pciutils<br>
- xxx<br>
- yyy<br>
- zzz<br>
========<br>
Let me know if it solves your problem.<br>
<br>
Regards,<br>
<br>
-David<br>
<br>
On 03/03/2016 10:31 PM, Chad Young wrote:<br>
</div>
<blockquote
cite="mid:CAHmfFC1W6Cty648RGrC9E-a0+ecFQnuE6LgAmnD70ZtxoVskLg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>Hello <br>
<br>
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<br>
<br>
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.<br>
<br>
</div>
Any help would be appreciated <br>
</div>
<br>
Thanks,<br>
</div>
Chad<br>
<br>
<div>
<div>
<div><br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<font size="2" color="black">
<b>
<h3>DAVID CHEN</h3>
</b>
Technical Lead | Field Engineering | UES<br>
RM D, 46F, No. 7, Sec. 5, Xin-Yi Rd.,<br>
Taipei City, Taiwan 11049<br>
<b>O</b> +(886) 2 8729-6885<br>
<b>M</b> +(886) 988-858-524<br>
<img src="cid:part1.09030804.07010302@canonical.com">
</font></div>
</body>
</html>