* [PATCH][meta-networking] bridge-utils: PN -> BPN to fix multilib ALTERNATIVE error
@ 2014-02-25 1:10 rongqing.li
2014-02-25 2:59 ` Rongqing Li
0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2014-02-25 1:10 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
Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
recipes-support/bridge-utils/bridge-utils.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-support/bridge-utils/bridge-utils.inc b/recipes-support/bridge-utils/bridge-utils.inc
index bcdc04a..b4ca3f1 100644
--- a/recipes-support/bridge-utils/bridge-utils.inc
+++ b/recipes-support/bridge-utils/bridge-utils.inc
@@ -20,7 +20,7 @@ ALTERNATIVE_LINK_NAME[brctl] = "${sbindir}/brctl"
EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
do_install_append () {
- mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
+ mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${BPN}
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: PN -> BPN to fix multilib ALTERNATIVE error
2014-02-25 1:10 [PATCH][meta-networking] bridge-utils: PN -> BPN to fix multilib ALTERNATIVE error rongqing.li
@ 2014-02-25 2:59 ` Rongqing Li
0 siblings, 0 replies; 2+ messages in thread
From: Rongqing Li @ 2014-02-25 2:59 UTC (permalink / raw)
To: openembedded-devel
Please drop this one
-Roy
On 02/25/2014 09:10 AM, 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
>
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
> recipes-support/bridge-utils/bridge-utils.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-support/bridge-utils/bridge-utils.inc b/recipes-support/bridge-utils/bridge-utils.inc
> index bcdc04a..b4ca3f1 100644
> --- a/recipes-support/bridge-utils/bridge-utils.inc
> +++ b/recipes-support/bridge-utils/bridge-utils.inc
> @@ -20,7 +20,7 @@ ALTERNATIVE_LINK_NAME[brctl] = "${sbindir}/brctl"
> EXTRA_OECONF = "--with-linux-headers=${STAGING_INCDIR}"
>
> do_install_append () {
> - mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${PN}
> + mv ${D}${sbindir}/brctl ${D}${sbindir}/brctl.${BPN}
> install -d ${D}/${datadir}/bridge-utils
> install -d ${D}/${sysconfdir}/network/if-pre-up.d
> install -d ${D}/${sysconfdir}/network/if-post-down.d
>
--
Best Reagrds,
Roy | RongQing Li
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-25 2:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 1:10 [PATCH][meta-networking] bridge-utils: PN -> BPN to fix multilib ALTERNATIVE error rongqing.li
2014-02-25 2:59 ` Rongqing Li
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.