<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
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.<br>
<br>
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.<br>
<br>
Mark<br>
<br>
On 03/03/16 06:31, Chad Young wrote:<br>
</div>
<blockquote
cite="mid:CAHmfFC1W6Cty648RGrC9E-a0+ecFQnuE6LgAmnD70ZtxoVskLg@mail.gmail.com"
type="cite">
<pre wrap="">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
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>