[oe] [PATCH 5/7] ctdb: RDEPENDS on bash

Martin Jansa martin.jansa at gmail.com
Fri Dec 11 13:55:21 UTC 2015


On Fri, Nov 20, 2015 at 02:05:12AM -0800, Robert Yang wrote:
> Fixed:
> ctdb-2.5.1: /usr/bin/onnode_ctdb contained in package ctdb requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]

There is patch for this from kergoth already.

> 
> And really bashisms there:
> $ checkbashisms usr/bin/onnode
> possible bashism in tmp/work/corei7-64-wrs-linux/ctdb/2.5.1-r0/image/usr/bin/onnode line 186 (<<< here string):
>         done <<<"$ctdb_status_output"
> possible bashism in tmp/work/corei7-64-wrs-linux/ctdb/2.5.1-r0/image/usr/bin/onnode line 250 (<<< here string):
>     done <<<"$out"
> possible bashism in tmp/work/corei7-64-wrs-linux/ctdb/2.5.1-r0/image/usr/bin/onnode line 284 (${parm/?/pat[/str]}):
>                 echo "${all_nodes//#DEAD/}"
> possible bashism in tmp/work/corei7-64-wrs-linux/ctdb/2.5.1-r0/image/usr/bin/onnode line 337 (${parm/?/pat[/str]}):
> 
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb
> index 3731efd..70bdfb1 100644
> --- a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb
> +++ b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb
> @@ -27,6 +27,7 @@ inherit autotools-brokensep pkgconfig systemd
>  PARALLEL_MAKE = ""
>  
>  DEPENDS += "popt libtevent talloc"
> +RDEPENDS_${PN} += "bash"
>  
>  do_configure() {
>      oe_runconf
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20151211/a3784025/attachment-0002.sig>


More information about the Openembedded-devel mailing list