Patchwork usbutils: Upgrade usbutils to upstream v002

login
register
mail settings
Submitter Radu Moisan
Date Aug. 2, 2012, 9:08 a.m.
Message ID <1343898530-11885-1-git-send-email-radu.moisan@intel.com>
Download mbox | patch
Permalink /patch/33635/
State New
Headers show

Comments

Radu Moisan - Aug. 2, 2012, 9:08 a.m.
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
---
 .../usbutils/{usbutils_0.91.bb => usbutils_002.bb} |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-bsp/usbutils/{usbutils_0.91.bb => usbutils_002.bb} (80%)
Martin Jansa - Aug. 2, 2012, 9:10 a.m.
On Thu, Aug 02, 2012 at 12:08:50PM +0300, Radu Moisan wrote:
> Signed-off-by: Radu Moisan <radu.moisan@intel.com>

Why not current 006? And lsusb link is not needed anymore?

> ---
>  .../usbutils/{usbutils_0.91.bb => usbutils_002.bb} |    7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>  rename meta/recipes-bsp/usbutils/{usbutils_0.91.bb => usbutils_002.bb} (80%)
> 
> diff --git a/meta/recipes-bsp/usbutils/usbutils_0.91.bb b/meta/recipes-bsp/usbutils/usbutils_002.bb
> similarity index 80%
> rename from meta/recipes-bsp/usbutils/usbutils_0.91.bb
> rename to meta/recipes-bsp/usbutils/usbutils_002.bb
> index abe807c..c546acd 100644
> --- a/meta/recipes-bsp/usbutils/usbutils_0.91.bb
> +++ b/meta/recipes-bsp/usbutils/usbutils_002.bb
> @@ -7,19 +7,18 @@ LICENSE = "GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
>  
>  DEPENDS = "libusb zlib"
> -PR = "r5"
> +PR = "r0"
>  
>  SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
>             file://usb-devices-avoid-dependency-on-bash.patch \
>             file://Fix-NULL-pointer-crash.patch"
>  
> -SRC_URI[md5sum] = "49de2403b40bf3a9863faaa8d3858deb"
> -SRC_URI[sha256sum] = "c122346b0225121bcf159abf804116f826a4a3462c94ce7b8871f7559e6b3a46"
> +SRC_URI[md5sum] = "82decd82811458f0740cf2f715267d4d"
> +SRC_URI[sha256sum] = "d75e4f26ee6fa2f94712edf124456cc409d00934c57771d41ccd5febf4538933"
>  
>  inherit autotools
>  
>  do_install_append() {
> -	ln -s ../sbin/lsusb ${D}${bindir}/lsusb
>  	# We only need the compressed copy, remove the uncompressed version
>  	rm -f ${D}${datadir}/usb.ids
>  }
> -- 
> 1.7.9.5
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Radu Moisan - Aug. 2, 2012, 11:55 a.m.
On 08/02/2012 12:10 PM, Martin Jansa wrote:
> On Thu, Aug 02, 2012 at 12:08:50PM +0300, Radu Moisan wrote:
>> Signed-off-by: Radu Moisan <radu.moisan@intel.com>
> Why not current 006? And lsusb link is not needed anymore?
I really don't know why I chose 002, I'll follow with a new patch for 006

Radu
Martin Jansa - Aug. 2, 2012, 2:40 p.m.
On Thu, Aug 02, 2012 at 02:55:16PM +0300, Radu Moisan wrote:
> 
> On 08/02/2012 12:10 PM, Martin Jansa wrote:
> > On Thu, Aug 02, 2012 at 12:08:50PM +0300, Radu Moisan wrote:
> >> Signed-off-by: Radu Moisan <radu.moisan@intel.com>
> > Why not current 006? And lsusb link is not needed anymore?
> I really don't know why I chose 002, I'll follow with a new patch for 006

Can you answer *both* questions?

Patch

diff --git a/meta/recipes-bsp/usbutils/usbutils_0.91.bb b/meta/recipes-bsp/usbutils/usbutils_002.bb
similarity index 80%
rename from meta/recipes-bsp/usbutils/usbutils_0.91.bb
rename to meta/recipes-bsp/usbutils/usbutils_002.bb
index abe807c..c546acd 100644
--- a/meta/recipes-bsp/usbutils/usbutils_0.91.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_002.bb
@@ -7,19 +7,18 @@  LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libusb zlib"
-PR = "r5"
+PR = "r0"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
            file://usb-devices-avoid-dependency-on-bash.patch \
            file://Fix-NULL-pointer-crash.patch"
 
-SRC_URI[md5sum] = "49de2403b40bf3a9863faaa8d3858deb"
-SRC_URI[sha256sum] = "c122346b0225121bcf159abf804116f826a4a3462c94ce7b8871f7559e6b3a46"
+SRC_URI[md5sum] = "82decd82811458f0740cf2f715267d4d"
+SRC_URI[sha256sum] = "d75e4f26ee6fa2f94712edf124456cc409d00934c57771d41ccd5febf4538933"
 
 inherit autotools
 
 do_install_append() {
-	ln -s ../sbin/lsusb ${D}${bindir}/lsusb
 	# We only need the compressed copy, remove the uncompressed version
 	rm -f ${D}${datadir}/usb.ids
 }