[oe] [PATCH][meta-networking] bridge-utils: fix the no brctl error when enable multilib

Joe MacDonald joe at deserted.net
Wed Feb 26 03:40:53 UTC 2014


Merged, thanks.
-J.

[[oe] [PATCH][meta-networking] bridge-utils: fix the no brctl error when enable multilib] On 14.02.25 (Tue 15:58) rongqing.li at windriver.com wrote:

> From: Roy Li <rongqing.li at windriver.com>
> 
> update-alternatives.bbclass does not create the brctl symbolic links for
> multilib, since the wrong use of PN generates
> /usr/sbin/brctl.lib32-bridge-utils, not /usr/sbin/brctl.bridge-utils;
> 
> In fact, no need to rename brctl by calling mv, since update-alternatives
> will handle it
> 
> Signed-off-by: Roy Li <rongqing.li at windriver.com>
> ---
>  meta-networking/recipes-support/bridge-utils/bridge-utils.inc |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-support/bridge-utils/bridge-utils.inc b/meta-networking/recipes-support/bridge-utils/bridge-utils.inc
> index bcdc04a..e06c32e 100644
> --- a/meta-networking/recipes-support/bridge-utils/bridge-utils.inc
> +++ b/meta-networking/recipes-support/bridge-utils/bridge-utils.inc
> @@ -20,7 +20,6 @@ ALTERNATIVE_LINK_NAME[brctl] = "${sbindir}/brctl"
>  EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
>  
>  do_install_append () {
> -    mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
>      install -d ${D}/${datadir}/bridge-utils
>      install -d ${D}/${sysconfdir}/network/if-pre-up.d
>      install -d ${D}/${sysconfdir}/network/if-post-down.d
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140225/b47a73c4/attachment-0002.sig>


More information about the Openembedded-devel mailing list