mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user