usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1"
PATCH 1/2 usbutils 0.70 & 0.73: don't set DEFAULT_PREFERENCE = "1"
I think it may be leftover from earlier. Let 0.86 build by default. Most distros already prefer it.
--- recipes/usbutils/usbutils_0.70.bb | 1 - recipes/usbutils/usbutils_0.73.bb | 1 - 2 files changed, 0 insertions(+), 2 deletions(-)
recipes/usbutils/usbutils_0.70.bb +0 -1
@@ -3,7 +3,6 @@ SECTION = "base" DEPENDS += "virtual/libusb0" LICENSE = "GPLv2" PRIORITY = "optional" -DEFAULT_PREFERENCE = "1" PR = "r1"
recipes/usbutils/usbutils_0.73.bb +0 -1
@@ -3,7 +3,6 @@ SECTION = "base" DEPENDS += "virtual/libusb0" LICENSE = "GPLv2" PRIORITY = "optional" -DEFAULT_PREFERENCE = "1" PR = "r0"
Signature · 1 line
1.7.0.4
PATCH 2/2 usbutils 0.86: delete usb.ids if gzipped version is installed
Also split update-usbids.sh to a separate package, and allow building when sbindir != /sbin.
--- recipes/usbutils/usbutils_0.86.bb | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-)
recipes/usbutils/usbutils_0.86.bb +15 -2
@@ -4,19 +4,32 @@ DEPENDS += "virtual/libusb0" LICENSE = "GPLv2" PRIORITY = "optional" +PR = "r1" + SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz \ " inherit autotools EXTRA_OECONF = "--program-prefix=" -sbindir = "/sbin" -bindir = "/bin" +sbindir = "${base_sbindir}" +bindir = "${base_bindir}" + +PACKAGES =+ "${PN}-update" FILES_${PN} += "${datadir}/usb*" +FILES_${PN}-update = "${sbindir}/update-usbids.sh" do_configure_prepend() { rm -rf ${S}/libusb } +do_install_append() { + # The 0.86 Makefile.am installs both usb.ids and usb.ids.gz. + if [ -f ${D}${datadir}/usb.ids.gz ] + then + rm -f ${D}${datadir}/usb.ids + fi +} + SRC_URI[md5sum] = "34979f675d2bcb3e1b45012fa830a53f" SRC_URI[sha256sum] = "b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4"
Signature · 1 line
1.7.0.4
Re: [PATCH 2/2] usbutils 0.86: delete usb.ids if gzipped version is installed
Quoted 4 lines · Michael Smith
Also split
update-usbids.shto a separate package, and allow building when sbindir != /sbin.Signed-off-by Michael Smith <[email protected]>
Quoted 52 lines
---
recipes/usbutils/usbutils_0.86.bb | 17 +++++++++++++++--1 files changed, 15 insertions(+), 2 deletions(-)recipes/usbutils/usbutils_0.86.bb +0
-0@@ -4,19 +4,32 @@ DEPENDS += "virtual/libusb0"LICENSE = "GPLv2"
PRIORITY = "optional"recipes/usbutils/usbutils_0.86.bb +2
-0+PR = "r1" +SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz \
"
inherit autotoolsEXTRA_OECONF = "--program-prefix="
recipes/usbutils/usbutils_0.86.bb +4
-2-sbindir = "/sbin" -bindir = "/bin" +sbindir = "${base_sbindir}" +bindir = "${base_bindir}" + +PACKAGES =+ "${PN}-update"FILES_${PN} += "${datadir}/usb*" +FILES_${PN}-update = "
${sbindir}/update-usbids.sh"do_configure_prepend() {
rm -rf ${S}/libusb
}recipes/usbutils/usbutils_0.86.bb +8
-0+do_install_append() { + # The 0.86 Makefile.am installs both usb.ids and usb.ids.gz. + if [ -f ${D}${datadir}/usb.ids.gz ] + then + rm -f ${D}${datadir}/usb.ids + fi +} +SRC_URI[md5sum] = "
34979f675d2bcb3e1b45012fa830a53f"
SRC_URI[sha256sum] = "b3b2bea6d2cd87660c8201a47071bf2a9889d8ed90c7203cc768b597799c12f4" --
1.7.0.4_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 3 lines · Michael Smith
I think it may be leftover from earlier. Let 0.86 build by default. Most distros already prefer it.
does it work well with udev 141 ?
some uclibc based distros still use older udev
Quoted 39 lines
Signed-off-by Michael Smith <[email protected]>---
recipes/usbutils/usbutils_0.70.bb | 1 -
recipes/usbutils/usbutils_0.73.bb | 1 -2 files changed, 0 insertions(+), 2 deletions(-)recipes/usbutils/usbutils_0.70.bb +0
-0@@ -3,7 +3,6 @@ SECTION = "base"DEPENDS += "virtual/libusb0"
LICENSE = "GPLv2"
PRIORITY = "optional"
-DEFAULT_PREFERENCE = "1"PR = "r1"
recipes/usbutils/usbutils_0.73.bb +0
-0@@ -3,7 +3,6 @@ SECTION = "base"DEPENDS += "virtual/libusb0"
LICENSE = "GPLv2"
PRIORITY = "optional"
-DEFAULT_PREFERENCE = "1"PR = "r0"
--
1.7.0.4_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 7 lines · Khem Raj
Quoted 3 lines · Michael Smith
I think it may be leftover from earlier. Let 0.86 build by default. Most distros already prefer it.
does it work well with udev 141 ?
some uclibc based distros still use older udev
I use udev 141, but not uclibc; it seems to work here.
Mike
Quoted 4 lines · Michael Smith
Quoted 3 lines · Khem Raj
Quoted 1 line · Michael Smith
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
I think it may be leftover from earlier. Let 0.86 build by default. Most distros already prefer it.
does it work well with udev 141 ?
some uclibc based distros still use older udevI use udev 141, but not uclibc; it seems to work here.
ok
Quoted 7 lines
Mike
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel