Patchwork iproute2: add bash runtime dependence

login
register
mail settings
Submitter Giuseppe CONDORELLI
Date March 26, 2013, 4:17 p.m.
Message ID <1364314652-17317-1-git-send-email-giuseppe.condorelli@st.com>
Download mbox | patch
Permalink /patch/46947/
State New
Headers show

Comments

Giuseppe CONDORELLI - March 26, 2013, 4:17 p.m.
Add bash runtime dependence, required at package install time.

Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com>
---
 meta/recipes-connectivity/iproute2/iproute2.inc    |    1 +
 .../iproute2/iproute2_3.8.0.bb                     |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
Khem Raj - March 26, 2013, 5:26 p.m.
Giuseppe

On Mar 26, 2013, at 9:17 AM, Giuseppe CONDORELLI <giuseppe.condorelli@st.com> wrote:

> Add bash runtime dependence, required at package install time.

it would be nicer if you could find which scripts in the whole package needs bash
separate that out into a separate package and add RDEPENDS_<thatpackage> = "bash"

> 
> Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli@st.com>
> ---
> meta/recipes-connectivity/iproute2/iproute2.inc    |    1 +
> .../iproute2/iproute2_3.8.0.bb                     |    2 +-
> 2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
> index fb233eb..e840605 100644
> --- a/meta/recipes-connectivity/iproute2/iproute2.inc
> +++ b/meta/recipes-connectivity/iproute2/iproute2.inc
> @@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
>                     file://ip/ip.c;beginline=3;endline=8;md5=689d691d0410a4b64d3899f8d6e31817"
> 
> DEPENDS = "flex-native bison-native iptables"
> +RDEPENDS_${PN} += "bash"
> 
> inherit update-alternatives
> 
> diff --git a/meta/recipes-connectivity/iproute2/iproute2_3.8.0.bb b/meta/recipes-connectivity/iproute2/iproute2_3.8.0.bb
> index 65164cb..99c7ede 100644
> --- a/meta/recipes-connectivity/iproute2/iproute2_3.8.0.bb
> +++ b/meta/recipes-connectivity/iproute2/iproute2_3.8.0.bb
> @@ -1,6 +1,6 @@
> require iproute2.inc
> 
> -PR = "r2"
> +PR = "r3"
> 
> SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BPN}-${PV}.tar.xz \
>            file://configure-cross.patch \
> -- 
> 1.7.7.6
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Phil Blundell - March 26, 2013, 5:28 p.m.
On Tue, 2013-03-26 at 17:17 +0100, Giuseppe CONDORELLI wrote:
> Add bash runtime dependence, required at package install time.

Where does this dependency come from?

p.

Patch

diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index fb233eb..e840605 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -10,6 +10,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
                     file://ip/ip.c;beginline=3;endline=8;md5=689d691d0410a4b64d3899f8d6e31817"
 
 DEPENDS = "flex-native bison-native iptables"
+RDEPENDS_${PN} += "bash"
 
 inherit update-alternatives
 
diff --git a/meta/recipes-connectivity/iproute2/iproute2_3.8.0.bb b/meta/recipes-connectivity/iproute2/iproute2_3.8.0.bb
index 65164cb..99c7ede 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_3.8.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_3.8.0.bb
@@ -1,6 +1,6 @@ 
 require iproute2.inc
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BPN}-${PV}.tar.xz \
            file://configure-cross.patch \