Patchwork [6/8] usbutils: Add RDEPENDS on bash

login
register
mail settings
Submitter Saul Wold
Date July 7, 2011, 11:31 p.m.
Message ID <5058763548021532f1b569c63fefd996c4748c1d.1310081443.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/7209/
State New, archived
Headers show

Comments

Saul Wold - July 7, 2011, 11:31 p.m.
[YOCTO #1214]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-bsp/usbutils/usbutils_0.91.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Koen Kooi - July 8, 2011, 7:28 a.m.
iirc only the ids package depends on bash, and only to check for wget. Fixing the update script would be better

Op 8 jul. 2011 om 00:31 heeft Saul Wold <sgw@linux.intel.com> het volgende geschreven:

> [YOCTO #1214]
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> meta/recipes-bsp/usbutils/usbutils_0.91.bb |    5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-bsp/usbutils/usbutils_0.91.bb b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
> index 5d605c5..c5420d0 100644
> --- a/meta/recipes-bsp/usbutils/usbutils_0.91.bb
> +++ b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
> @@ -7,8 +7,7 @@ LICENSE = "GPLv2+"
> LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> 
> DEPENDS = "libusb zlib"
> -RDEPENDS_${PN} = "${PN}-ids"
> -PR = "r1"
> +PR = "r2"
> 
> SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz"
> 
> @@ -26,3 +25,5 @@ do_install_append() {
> PACKAGES += "${PN}-ids"
> FILES_${PN} += "${datadir}/pkgconfig"
> FILES_${PN}-ids = "${datadir}/usb*"
> +
> +RDEPENDS_${PN} = "${PN}-ids bash"
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Richard Purdie - July 8, 2011, 3:42 p.m.
On Fri, 2011-07-08 at 08:28 +0100, Koen Kooi wrote:
> iirc only the ids package depends on bash, and only to check for wget. Fixing the update script would be better

Agreed and I'll take a follow up patch on this one.

The fix in itself is correct as the script is wanting bash currently.

Cheers,

Richard

Patch

diff --git a/meta/recipes-bsp/usbutils/usbutils_0.91.bb b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
index 5d605c5..c5420d0 100644
--- a/meta/recipes-bsp/usbutils/usbutils_0.91.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
@@ -7,8 +7,7 @@  LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libusb zlib"
-RDEPENDS_${PN} = "${PN}-ids"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz"
 
@@ -26,3 +25,5 @@  do_install_append() {
 PACKAGES += "${PN}-ids"
 FILES_${PN} += "${datadir}/pkgconfig"
 FILES_${PN}-ids = "${datadir}/usb*"
+
+RDEPENDS_${PN} = "${PN}-ids bash"