Patchwork [13/18] gzip: explicitly rdepend on bash

login
register
mail settings
Submitter Qi.Chen@windriver.com
Date Nov. 29, 2013, 12:48 p.m.
Message ID <d0f1d19cffaedaec7200ca118fac58494232d172.1385728901.git.Qi.Chen@windriver.com>
Download mbox | patch
Permalink /patch/62593/
State New
Headers show

Comments

Qi.Chen@windriver.com - Nov. 29, 2013, 12:48 p.m.
From: Chen Qi <Qi.Chen@windriver.com>

Make gzip explicitly rdepend on bash so that the rootfs task will
not fail for the reason of implicit runtime bash dependency.

[YOCTO #5555]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 meta/recipes-extended/gzip/gzip.inc |    2 ++
 1 file changed, 2 insertions(+)
Randy MacLeod - Dec. 3, 2013, 12:59 a.m.
On 13-11-29 07:48 AM, Qi.Chen@windriver.com wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> Make gzip explicitly rdepend on bash so that the rootfs task will
> not fail for the reason of implicit runtime bash dependency.


Can you explain why bash is needed?

Same question for the other cases where you add
bash as an RDEPEND but don't explain why busybox's
/bin/sh will not suffice.

../Randy

>
> [YOCTO #5555]
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>   meta/recipes-extended/gzip/gzip.inc |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
> index 6ec1dae..a4eddaa 100644
> --- a/meta/recipes-extended/gzip/gzip.inc
> +++ b/meta/recipes-extended/gzip/gzip.inc
> @@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
>
>   SRC_URI = "${GNU_MIRROR}/gzip/${BP}.tar.gz"
>
> +RDEPENDS_${PN}_class-target = "bash"
> +
>   inherit autotools
>
>   do_install_append () {
>

Patch

diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index 6ec1dae..a4eddaa 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -10,6 +10,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
 
 SRC_URI = "${GNU_MIRROR}/gzip/${BP}.tar.gz"
 
+RDEPENDS_${PN}_class-target = "bash"
+
 inherit autotools
 
 do_install_append () {