how to make a snap of usbutils (i.e. lsusb)
Sergio Schvezov
sergio.schvezov at canonical.com
Mon Mar 7 00:35:32 UTC 2016
El 05/03/16 a las 20:39, Chad Young escribió:
> 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
Have you added an 'apps' entry in snapcraft.yaml? Some binaries in a
snap are private to a the snap while the ones you want to expose have to
be declared.
I image it would look something like:
apps:
lsusb:
command: lsusb
Once the snap is installed it can be invoked as <package-name>.lsusb
You will need to catch up on the emails about `interfaces` to get this
fully working though (depending on what channel you track), but I'd hold
on for just a bit until `interfaces` make their way in to avoid confusion.
Cheers
Sergio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160307/d502407b/attachment.pgp>
More information about the snappy-app-devel
mailing list