On 13-11-29 07:48 AM, qi.c...@windriver.com wrote:
From: Chen Qi <qi.c...@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.c...@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
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to