bridge-utils: fix the no brctl error when enable multilib
PATCH 1/1 bridge-utils: fix the no brctl error when enable multilib
From: Roy Li <[email protected]>
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 <[email protected]>
--- meta-networking/recipes-support/bridge-utils/bridge-utils.inc | 1 - 1 file changed, 1 deletion(-)
meta-networking/recipes-support/bridge-utils/bridge-utils.inc +0 -1
@@ -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
Signature · 1 line
1.7.10.4
Joe MacDonald
AppliedMerged, thanks.
-J.
Quoted 26 lines · [[oe] [PATCH][meta-networking] bridge-utils: fix the no brctl error when…
From: Roy Li <[email protected]>
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 <[email protected]>--- meta-networking/recipes-support/bridge-utils/bridge-utils.inc | 1 - 1 file changed, 1 deletion(-)meta-networking/recipes-support/bridge-utils/bridge-utils.inc +0
-1@@ -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
Signature · 2 lines
-Joe MacDonald. :wq