<div dir="ltr">Thanks David <div><br></div><div>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 :)</div><div><br></div><div><div><br></div><div> 7 icon: icon.png # A path to an icon for the package</div><div> 8</div><div> 9 parts:</div><div> 10 utilities:</div><div> 11 plugin: nil</div><div> 12 stage-packages:</div><div> 13 - usbutils</div><div><br></div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 8:13 PM, David Chen <span dir="ltr"><<a href="mailto:david.chen@canonical.com" target="_blank">david.chen@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>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<div><div class="h5"><br>
<br>
On 03/03/2016 10:31 PM, Chad Young wrote:<br>
</div></div></div><div><div class="h5">
<blockquote 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></fieldset>
<br>
</blockquote>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888"><div>-- <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> <a href="tel:%2B%28886%29%202%208729-6885" value="+886287296885" target="_blank">+(886) 2 8729-6885</a><br>
<b>M</b> <a href="tel:%2B%28886%29%20988-858-524" value="+886988858524" target="_blank">+(886) 988-858-524</a><br>
<img src="cid:part1.09030804.07010302@canonical.com">
</font></div>
</font></span></div>
</blockquote></div><br></div>