[oe] [meta-networking][PATCH 1/3] traceroute: resolve multilib issues

Joe MacDonald Joe.MacDonald at windriver.com
Thu Feb 14 03:34:44 UTC 2013


[[meta-networking][PATCH  1/3] traceroute: resolve multilib issues] On 13.02.11 (Mon 13:16) Aws Ismail wrote:

> Make recipe changes to enable successfull building
> when multilib is being used.
> 
> Signed-off-by: Aws Ismail <aws.ismail at windriver.com>
> ---
>  .../traceroute/traceroute_2.0.18.bb                |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
> index 6eca731..f5f96b2 100644
> --- a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
> +++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb
> @@ -11,6 +11,8 @@ LICENSE = "GPL-2.0 LGPL-2.1"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
>                      file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
>  
> +PR = "r1"
> +
>  inherit update-alternatives
>  
>  SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \
> @@ -26,13 +28,13 @@ do_compile() {
>  
>  do_install() {
>      install -d ${D}${bindir}
> -    install -m755 ${PN}/${PN} ${D}${bindir}
> +    install -m755 ${BPN}/${BPN} ${D}${bindir}
>  
>      install -m755 wrappers/tcptraceroute ${D}${bindir}
>  
>      install -d ${D}${mandir}
> -    install -p -m644 ${PN}/${PN}.8 ${D}${mandir}
> -    ln -s ${PN}.8 ${D}${mandir}/${PN}6.8
> +    install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir}
> +    ln -s ${PN}.8 ${D}${mandir}/${BPN}6.8
>      ln -s ${PN}.8 ${D}${mandir}/tcptraceroute.8

Are the targets actually installed as ${PN}.8 and not ${BPN}.8 in a
multilib build scenario?  What I'm asking is should the above be changed
to this instead:

    ln -s ${BPN}.8 ${D}${mandir}/${BPN}6.8
    ln -s ${BPN}.8 ${D}${mandir}/tcptraceroute.8

-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130213/a573dea3/attachment-0002.sig>


More information about the Openembedded-devel mailing list