* [PATCH][meta-networking] bridge-utils: fix the no brctl error when enable multilib
@ 2014-02-25 7:58 rongqing.li
2014-02-26 3:40 ` Joe MacDonald
0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2014-02-25 7:58 UTC (permalink / raw)
To: openembedded-devel
From: Roy Li <rongqing.li@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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH][meta-networking] bridge-utils: fix the no brctl error when enable multilib
2014-02-25 7:58 [PATCH][meta-networking] bridge-utils: fix the no brctl error when enable multilib rongqing.li
@ 2014-02-26 3:40 ` Joe MacDonald
0 siblings, 0 replies; 2+ messages in thread
From: Joe MacDonald @ 2014-02-26 3:40 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1429 bytes --]
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@windriver.com wrote:
> From: Roy Li <rongqing.li@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@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
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-26 3:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 7:58 [PATCH][meta-networking] bridge-utils: fix the no brctl error when enable multilib rongqing.li
2014-02-26 3:40 ` Joe MacDonald
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.