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

rongqing.li at windriver.com rongqing.li at windriver.com
Tue Feb 25 07:58:34 UTC 2014


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
-- 
1.7.10.4




More information about the Openembedded-devel mailing list