summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/bridge-utils
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2014-02-25 15:58:34 +0800
committerJoe MacDonald <joe@deserted.net>2014-03-14 08:21:43 -0400
commit42da6554d80298a23d7ddab25ab02f2aa9696230 (patch)
treeddbfb3a9c2c63cdc6027ed4f5168dbd71680904e /meta-networking/recipes-support/bridge-utils
parent3cb58d800c5131bd0519a676a45c26f47b69745f (diff)
downloadmeta-openembedded-42da6554d80298a23d7ddab25ab02f2aa9696230.tar.gz
bridge-utils: fix the no brctl error when enable multilib
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@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'meta-networking/recipes-support/bridge-utils')
-rw-r--r--meta-networking/recipes-support/bridge-utils/bridge-utils.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/bridge-utils/bridge-utils.inc b/meta-networking/recipes-support/bridge-utils/bridge-utils.inc
index bcdc04a4f..e06c32e33 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"
20EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}" 20EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
21 21
22do_install_append () { 22do_install_append () {
23 mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
24 install -d ${D}/${datadir}/bridge-utils 23 install -d ${D}/${datadir}/bridge-utils
25 install -d ${D}/${sysconfdir}/network/if-pre-up.d 24 install -d ${D}/${sysconfdir}/network/if-pre-up.d
26 install -d ${D}/${sysconfdir}/network/if-post-down.d 25 install -d ${D}/${sysconfdir}/network/if-post-down.d