[OE-core] [PATCH 06/18] xz: rdepend on bash
Randy MacLeod
randy.macleod at windriver.com
Tue Dec 3 00:57:17 UTC 2013
On 13-11-29 07:48 AM, Qi.Chen at windriver.com wrote:
> From: Chen Qi <Qi.Chen at 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 at 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
More information about the Openembedded-core
mailing list