Skip to contentSkip to conversation

usbutils: Upgrade usbutils to upstream v006

PATCH In review Radu Moisan 5 participants 9 messages Aug 2, 2012 – Aug 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 usbutils: Upgrade usbutils to upstream v006

---
 .../usbutils/{usbutils_0.91.bb => usbutils_006.bb} |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-bsp/usbutils/{usbutils_0.91.bb => usbutils_006.bb} (80%)
meta/recipes-bsp/usbutils/usbutils_006.bb renamed from meta/recipes-bsp/usbutils/usbutils_0.91.bb +3 -4
similarity index 80%
rename from meta/recipes-bsp/usbutils/usbutils_0.91.bb
rename to meta/recipes-bsp/usbutils/usbutils_006.bb
index abe807c..c1c9fc0 100644
@@ -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] = "850790442f5eb487cdc7e35f8ee03e11"
+SRC_URI[sha256sum] = "553270b4030f0844cb70aed57e61c7f10a7ed6641c3bed20249201cec9bcf122"
 
 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
 }
Signature · 1 line
1.7.9.5
#1 lore raw

Op 2 aug. 2012, om 14:06 heeft Radu Moisan <[email protected]> het volgende geschreven:

Quoted 17 lines

---
.../usbutils/{usbutils_0.91.bb => usbutils_006.bb} | 7 +++----

1 file changed, 3 insertions(+), 4 deletions(-)

rename meta/recipes-bsp/usbutils/{usbutils_0.91.bb => usbutils_006.bb} (80%)

meta/recipes-bsp/usbutils/usbutils_006.bb renamed from meta/recipes-bsp/usbutils/usbutils_0.91.bb +0 -0
similarity index 80%
rename from meta/recipes-bsp/usbutils/usbutils_0.91.bb
rename to meta/recipes-bsp/usbutils/usbutils_006.bb
index abe807c..c1c9fc0 100644
@@ -7,19 +7,18 @@ LICENSE = "GPLv2+"

LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

DEPENDS = "libusb zlib"

meta/recipes-bsp/usbutils/usbutils_006.bb LICENSE = "GPLv2+" · line 10

Quoted 2 lines
meta/recipes-bsp/usbutils/usbutils_006.bb renamed from meta/recipes-bsp/usbutils/usbutils_0.91.bb +1 -1
-PR = "r5"
+PR = "r0"

That's the default value, so you can drop this hunk

Quoted 25 lines
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"
meta/recipes-bsp/usbutils/usbutils_006.bb renamed from meta/recipes-bsp/usbutils/usbutils_0.91.bb +2 -2
-SRC_URI[md5sum] = "49de2403b40bf3a9863faaa8d3858deb"
-SRC_URI[sha256sum] = "c122346b0225121bcf159abf804116f826a4a3462c94ce7b8871f7559e6b3a46"
+SRC_URI[md5sum] = "850790442f5eb487cdc7e35f8ee03e11"
+SRC_URI[sha256sum] = "553270b4030f0844cb70aed57e61c7f10a7ed6641c3bed20249201cec9bcf122"

inherit autotools

do_install_append() {

meta/recipes-bsp/usbutils/usbutils_006.bb renamed from meta/recipes-bsp/usbutils/usbutils_0.91.bb +0 -1
-	ln -s ../sbin/lsusb ${D}${bindir}/lsusb
	# We only need the compressed copy, remove the uncompressed version
	rm -f ${D}${datadir}/usb.ids
}
Signature · 7 lines
1.7.9.5


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
#2 lore raw
Quoted 1 line · Koen Kooi

That's the default value, so you can drop this hunk

Can we settle this once and for all? Sure, it's the default, but it's also going to be added back in again the moment there's a change... I'm a fan of leaving a PR in there, even at r0, so its not constantly being added and removed.

Ross

#3 lore raw

Op 2 aug. 2012, om 15:55 heeft "Burton, Ross" <[email protected]> het volgende geschreven:

Quoted 7 lines · Koen Kooi
Quoted 1 line

That's the default value, so you can drop this hunk

Can we settle this once and for all? Sure, it's the default, but it's also going to be added back in again the moment there's a change... I'm a fan of leaving a PR in there, even at r0, so its not constantly being added and removed.

The complete PR field is scheduled to get removed, so the more recipes without it being said to that stupid default value, the better.

#4 lore raw
Quoted 7 lines · Koen Kooi

Op 2 aug. 2012, om 15:55 heeft "Burton, Ross" <[email protected]> het volgende geschreven:

Quoted 3 lines · Koen Kooi
Quoted 1 line

That's the default value, so you can drop this hunk

Quoted 9 lines
Quoted 4 lines

Can we settle this once and for all? Sure, it's the default, but it's also going to be added back in again the moment there's a change... I'm a fan of leaving a PR in there, even at r0, so its not constantly being added and removed.

The complete PR field is scheduled to get removed, so the more recipes without it being said to that stupid default value, the better.

Agreed.

ag

#7 lore raw
In reply to Radu Moisan
Quoted 34 lines · Radu Moisan
---
 .../usbutils/{usbutils_0.91.bb => usbutils_006.bb} |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
 rename meta/recipes-bsp/usbutils/{usbutils_0.91.bb => usbutils_006.bb}

(80%)

(quoted diff) +0 -0

usbutils_006.bb
similarity index 80%
rename from meta/recipes-bsp/usbutils/usbutils_0.91.bb rename to meta/recipes-bsp/usbutils/usbutils_006.bb index abe807c..c1c9fc0 100644

meta/recipes-bsp/usbutils/usbutils_006.bb renamed from meta/recipes-bsp/usbutils/usbutils_0.91.bb +1 -3
@@ -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"

meta/recipes-bsp/usbutils/usbutils_006.bb renamed from meta/recipes-bsp/usbutils/usbutils_0.91.bb +2 -0
+SRC_URI[md5sum] = "850790442f5eb487cdc7e35f8ee03e11"
+SRC_URI[sha256sum] =

"553270b4030f0844cb70aed57e61c7f10a7ed6641c3bed20249201cec9bcf122"

Quoted 4 lines

inherit autotools

do_install_append() {
- ln -s ../sbin/lsusb ${D}${bindir}/lsusb

This is not needed anymore?

ag

#5 lore raw
In reply to Koen Kooi
Quoted 1 line · On Thursday 02 August 2012 16:14:07 Koen Kooi wrote:

Op 2 aug. 2012, om 15:55 heeft "Burton, Ross" <[email protected]> het

volgende geschreven:

Quoted 10 lines
Quoted 7 lines · Koen Kooi
Quoted 1 line

That's the default value, so you can drop this hunk

Can we settle this once and for all? Sure, it's the default, but it's also going to be added back in again the moment there's a change... I'm a fan of leaving a PR in there, even at r0, so its not constantly being added and removed.

The complete PR field is scheduled to get removed, so the more recipes without it being said to that stupid default value, the better.

Since such a removal will just be a blanket search and replace, what difference does it make?

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#8 lore raw
In reply to Andrei Gherzan
Quoted 51 lines · Andrei Gherzan

On Thu, Aug 2, 2012 at 3:06 PM, Radu Moisan <[email protected] <mailto:[email protected]>> wrote:

    Signed-off-by: Radu Moisan <[email protected]
    <mailto:[email protected]>>
    ---
     .../usbutils/{usbutils_0.91.bb <http://usbutils_0.91.bb> =>
    usbutils_006.bb <http://usbutils_006.bb>} |    7 +++----
     1 file changed, 3 insertions(+), 4 deletions(-)
     rename meta/recipes-bsp/usbutils/{usbutils_0.91.bb
    <http://usbutils_0.91.bb> => usbutils_006.bb
    <http://usbutils_006.bb>} (80%)

    diff --git a/meta/recipes-bsp/usbutils/usbutils_0.91.bb
    <http://usbutils_0.91.bb>
    b/meta/recipes-bsp/usbutils/usbutils_006.bb <http://usbutils_006.bb>
    similarity index 80%
    rename from meta/recipes-bsp/usbutils/usbutils_0.91.bb
    <http://usbutils_0.91.bb>
    rename to meta/recipes-bsp/usbutils/usbutils_006.bb
    <http://usbutils_006.bb>
    index abe807c..c1c9fc0 100644
    --- a/meta/recipes-bsp/usbutils/usbutils_0.91.bb
    <http://usbutils_0.91.bb>
    +++ b/meta/recipes-bsp/usbutils/usbutils_006.bb
    <http://usbutils_006.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] = "850790442f5eb487cdc7e35f8ee03e11"
    +SRC_URI[sha256sum] =
    "553270b4030f0844cb70aed57e61c7f10a7ed6641c3bed20249201cec9bcf122"

     inherit autotools

     do_install_append() {
    -       ln -s ../sbin/lsusb ${D}${bindir}/lsusb
Quoted 2 lines

This is not needed anymore?

No, it's already in place.

radu

#6 lore raw
In reply to Paul Eggleton

Op 2 aug. 2012, om 17:28 heeft Paul Eggleton <[email protected]> het volgende geschreven:

Quoted 11 lines · On Thursday 02 August 2012 16:14:07 Koen Kooi wrote:
Quoted 1 line

Op 2 aug. 2012, om 15:55 heeft "Burton, Ross" <[email protected]> het

volgende geschreven:

Quoted 8 lines
Quoted 7 lines · Koen Kooi
Quoted 1 line

That's the default value, so you can drop this hunk

Can we settle this once and for all? Sure, it's the default, but it's also going to be added back in again the moment there's a change... I'm a fan of leaving a PR in there, even at r0, so its not constantly being added and removed.

Quoted 5 lines
Quoted 2 lines

The complete PR field is scheduled to get removed, so the more recipes without it being said to that stupid default value, the better.

Since such a removal will just be a blanket search and replace, what difference does it make?

It allows a more gradual change, which is good for upgrade paths. Insisting on adding default values will just artificially bloat the removal patch.