Hi Ron,
On 12/24/22 20:17, Mistyron wrote:
On 2022-12-24 08:38, Markus Volk wrote:
Am Sa, 24. Dez 2022 um 08:34:49 -0800 schrieb Mistyron <ron.eggler@...>:
$ grep usb path/to/package.manifest libusb-1.0-0 usbutils usbutils-python
lsusb is part of usbutils, so it is not explicitly listed, but should be included in your image
Oh, I think the cleanall didn't wipe the cache sufficiently, after I deleted contents in sstate-cache/ I get the following:
$ tar -tvf path/to/myimage-20221224185313.rootfs.tar.gz | grep lsusb
lrwxrwxrwx 0/0 0 2018-03-09 04:34 ./usr/bin/lsusb -> /usr/bin/lsusb.usbutils
-rwxr-xr-x 0/0 14266 2018-03-09 04:34 ./usr/bin/lsusb.py
-rwxr-xr-x 0/0 247976 2018-03-09 04:34 ./usr/bin/lsusb.usbutils
-rw-r--r-- 0/0 43 2018-03-09 04:34 ./usr/lib/opkg/alternatives/lsusb
I would expect "$ lsusb" to work now when I copy this to my board (cannot est right now)
the package.manifest however still only lists:
libusb-1.0-0
usbutils
usbutils-python
The package.manifest only contains packages so it's normal that lsusb does not appear there since there's no package *named* lsusb.
E.g. there's no lsusb package in Debian, but you can install it on your system via the usbutils package.
However, one can check which package provides the libusb binary by running
oe-pkgdata-util find-path '*/libusb'
it should return usbutils I believe.
Cheers,
Quentin