mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
usbutils: upgrade to version 0.86
from 0.72
changes:
- package new usbutils.pc
- move binaries into /usr/{bin,sbin} as default. udev uses only
usb.ids instead of binaries
- remove DEFAULT_PREFERENCE
- symbolic link /usr/sbin/lsusb to /usr/bin, lsusb can be used by
non-root, inspired by Debian
- separate usb.ids to a new package usbutils-ids, for finer grained
control, inspired by pciutils, also usbutils RDEPENDS on
usbutils-ids
- don't rm ${S}/libusb any more, since usbutils now doesn't bundle
an included libusb
Signed-off-by: Qing He <qing.he@intel.com>
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
DESCRIPTION = "Host side USB console utilities."
|
|
||||||
SECTION = "base"
|
|
||||||
DEPENDS += "libusb"
|
|
||||||
LICENSE = "GPL"
|
|
||||||
PRIORITY = "optional"
|
|
||||||
DEFAULT_PREFERENCE = "1"
|
|
||||||
|
|
||||||
SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz"
|
|
||||||
S = "${WORKDIR}/usbutils-${PV}"
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
EXTRA_OECONF = "--program-prefix="
|
|
||||||
sbindir = "/sbin"
|
|
||||||
bindir = "/bin"
|
|
||||||
|
|
||||||
FILES_${PN} += "${datadir}/usb*"
|
|
||||||
|
|
||||||
do_configure_prepend() {
|
|
||||||
rm -rf ${S}/libusb
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
DESCRIPTION = "Host side USB console utilities."
|
||||||
|
HOMEPAGE = "http://www.linux-usb.org"
|
||||||
|
SECTION = "base"
|
||||||
|
PRIORITY = "optional"
|
||||||
|
|
||||||
|
LICENSE = "GPLv2+"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||||
|
|
||||||
|
DEPENDS = "libusb zlib"
|
||||||
|
RDEPENDS_${PN} = "${PN}-ids"
|
||||||
|
PR = "r0"
|
||||||
|
|
||||||
|
SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz"
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
do_install_append() {
|
||||||
|
ln -s ../sbin/lsusb ${D}${bindir}/lsusb
|
||||||
|
}
|
||||||
|
|
||||||
|
PACKAGES += "${PN}-ids"
|
||||||
|
|
||||||
|
FILES_${PN} += "${datadir}/pkgconfig"
|
||||||
|
FILES_${PN}-ids = "${datadir}/usb*"
|
||||||
Reference in New Issue
Block a user