mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
usbutils: use update-alternatives for lsusb
lsusb can also be provided by busybox (CONFIG_LSUSB), so use update-alternatives to handle the conflict. (From OE-Core rev: 3c9ab895f937a7e232780c7cb697e102b5f9aaa8) Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
06f4699036
commit
e06ab7c88d
@@ -15,7 +15,10 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
|
||||
SRC_URI[md5sum] = "b5dbc498b2eb5058f7a57fc6532d0aad"
|
||||
SRC_URI[sha256sum] = "e73543293a17c7803994eac97a49e58b377e08e6299ba11aad09794b91340e8b"
|
||||
|
||||
inherit autotools pkgconfig distro_features_check
|
||||
inherit autotools pkgconfig distro_features_check update-alternatives
|
||||
|
||||
ALTERNATIVE_${PN} = "lsusb"
|
||||
ALTERNATIVE_PRIORITY = "100"
|
||||
|
||||
FILES_${PN}-dev += "${datadir}/pkgconfig"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user