Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Randy MacLeod <randy.macleod@windriver.com>
To: <Qi.Chen@windriver.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 06/18] xz: rdepend on bash
Date: Mon, 2 Dec 2013 19:57:17 -0500	[thread overview]
Message-ID: <529D2C6D.4010504@windriver.com> (raw)
In-Reply-To: <fe0e88c120d0d9b14b7b5169d822f2d7b0454012.1385728901.git.Qi.Chen@windriver.com>

On 13-11-29 07:48 AM, Qi.Chen@windriver.com wrote:
> From: Chen Qi <Qi.Chen@windriver.com>
>
> Make xz explicitly rdepend on bash so that the rootfs task will
> not fail for the reason of implicit runtime bash dependency.
>
> [YOCTO #5555]

Can you explain why bash is needed?

A quick look just turned up:
xz-5.1.2alpha/src/scripts/xzgrep
#!/bin/sh
...

I know you're script looks at the .rpm files but
what puts the bash dependency in the rpm?

../Randy

>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>   meta/recipes-extended/xz/xz_5.1.3alpha.bb |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-extended/xz/xz_5.1.3alpha.bb b/meta/recipes-extended/xz/xz_5.1.3alpha.bb
> index b49fbf7..4e07709 100644
> --- a/meta/recipes-extended/xz/xz_5.1.3alpha.bb
> +++ b/meta/recipes-extended/xz/xz_5.1.3alpha.bb
> @@ -13,6 +13,8 @@ SRC_URI = "http://tukaani.org/xz/xz-${PV}.tar.gz"
>   SRC_URI[md5sum] = "bbb2daa876c87fb2cf9fe4590af9694e"
>   SRC_URI[sha256sum] = "9f94506e301d5b6863921bba861a99ba00de384dafb4e5f409679a93e41613d4"
>
> +RDEPENDS_${PN}_class-target = "bash"
> +
>   inherit autotools gettext
>
>   PACKAGES =+ "liblzma liblzma-dev liblzma-staticdev liblzma-dbg"
>


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350


  reply	other threads:[~2013-12-03  0:57 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-29 12:48 [PATCH 00/18] Fix the problem of implicit bash dependency Qi.Chen
2013-11-29 12:48 ` [PATCH 01/18] linux-firmware: de-bash scripts to remove " Qi.Chen
2013-11-29 13:23   ` Richard Purdie
2013-12-02  1:55     ` ChenQi
2013-11-29 12:48 ` [PATCH 02/18] apr: make the dev package rdepend on bash Qi.Chen
2013-11-29 12:48 ` [PATCH 03/18] libpam: make libpam-xtests " Qi.Chen
2013-11-29 12:48 ` [PATCH 04/18] hdparm: make wiper appear before hdparm in PACKAGES Qi.Chen
2013-11-29 12:48 ` [PATCH 05/18] lsb: de-bash scripts to remove bash dependency Qi.Chen
2013-11-29 12:48 ` [PATCH 06/18] xz: rdepend on bash Qi.Chen
2013-12-03  0:57   ` Randy MacLeod [this message]
2013-11-29 12:48 ` [PATCH 07/18] dtc: make dtc-misc " Qi.Chen
2013-11-29 12:48 ` [PATCH 08/18] lsbtest: de-bash script to remove bash dependency Qi.Chen
2013-11-29 12:48 ` [PATCH 09/18] libtool: explicitly rdepend on bash Qi.Chen
2013-11-29 12:48 ` [PATCH 10/18] rpm: fix RDEPENDS for rpm-build Qi.Chen
2013-11-29 12:48 ` [PATCH 11/18] nfs-utils: add bash to RDEPENDS Qi.Chen
2013-11-29 12:48 ` [PATCH 12/18] apt: explicitly rdepend on bash Qi.Chen
2013-11-29 12:48 ` [PATCH 13/18] gzip: " Qi.Chen
2013-12-03  0:59   ` Randy MacLeod
2013-11-29 12:48 ` [PATCH 14/18] pm-utils: " Qi.Chen
2013-11-29 12:48 ` [PATCH 15/18] ltp: " Qi.Chen
2013-11-29 12:48 ` [PATCH 16/18] kconfig-frontends: " Qi.Chen
2013-11-29 12:48 ` [PATCH 17/18] pax-utils: add bash runtime dependency Qi.Chen
2013-11-29 12:48 ` [PATCH 18/18] kernel.bbclass: make kernel-dev explicitly rdepend on bash Qi.Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529D2C6D.4010504@windriver.com \
    --to=randy.macleod@windriver.com \
    --cc=Qi.Chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox