Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Joe MacDonald <Joe.MacDonald@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Cc: Jackie.Huang@windriver.com
Subject: Re: [meta-networking][PATCH 1/3] inetutils: fix PN -> BPN in do_install for multilibs
Date: Mon, 18 Mar 2013 15:19:46 -0400	[thread overview]
Message-ID: <20130318191946.GC14025@windriver.com> (raw)
In-Reply-To: <1363329716-14169-1-git-send-email-jackie.huang@windriver.com>

[-- Attachment #1: Type: text/plain, Size: 3587 bytes --]

Hi Jackie,

I merged the three-pack.  Thanks.

-J.

[[oe] [meta-networking][PATCH 1/3] inetutils: fix PN -> BPN in do_install for multilibs] On 13.03.15 (Fri 14:41) jackie.huang@windriver.com wrote:

> From: Jackie Huang <jackie.huang@windriver.com>
> 
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
>  .../inetutils/inetutils_1.9.1.bb                   |   35 ++++++++++---------
>  1 files changed, 18 insertions(+), 17 deletions(-)
> 
> diff --git a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
> index 81457d7..155befe 100644
> --- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
> +++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb
> @@ -8,6 +8,7 @@ LICENSE = "GPLv3"
>  
>  LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7"
>  
> +PR = "r1"
>  
>  SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
>             file://disable-pre-ANSI-compilers.patch \
> @@ -37,27 +38,27 @@ do_configure_prepend () {
>  do_install () {
>  	autotools_do_install
>  	install -d ${D}${base_sbindir} ${D}${base_bindir}
> -	mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN}
> -	mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN}
> -	mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN}
> -	mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN}
> -	mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN}
> -	mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN}
> +	mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${BPN}
> +	mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${BPN}
> +	mv ${D}${bindir}/logger ${D}${bindir}/logger.${BPN}
> +	mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${BPN}
> +	mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${BPN}
> +	mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${BPN}
>  }
>  
>  pkg_postinst_${PN} () {
> -	update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100
> -	update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100
> -	update-alternatives --install ${bindir}/logger logger logger.${PN} 100
> -	update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100
> -	update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 100
> -	update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100
> +	update-alternatives --install ${bindir}/tftp tftp tftp.${BPN} 100
> +	update-alternatives --install ${bindir}/telnet telnet telnet.${BPN} 100
> +	update-alternatives --install ${bindir}/logger logger logger.${BPN} 100
> +	update-alternatives --install ${bindir}/traceroute traceroute traceroute.${BPN} 100
> +	update-alternatives --install ${base_bindir}/hostname hostname hostname.${BPN} 100
> +	update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${BPN} 100
>  }
>  
>  pkg_prerm_${PN} () {
> -	update-alternatives --remove tftp tftp.${PN}
> -	update-alternatives --remove telnet telnet.${PN}
> -	update-alternatives --remove logger logger.${PN}
> -	update-alternatives --remove traceroute traceroute.${PN}
> -	update-alternatives --remove ifconfig ifconfig.${PN}
> +	update-alternatives --remove tftp tftp.${BPN}
> +	update-alternatives --remove telnet telnet.${BPN}
> +	update-alternatives --remove logger logger.${BPN}
> +	update-alternatives --remove traceroute traceroute.${BPN}
> +	update-alternatives --remove ifconfig ifconfig.${BPN}
>  }
-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

      parent reply	other threads:[~2013-03-18 19:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15  6:41 [meta-networking][PATCH 1/3] inetutils: fix PN -> BPN in do_install for multilibs jackie.huang
2013-03-15  6:41 ` [meta-networking][PATCH 2/3] netcat: " jackie.huang
2013-03-15  6:41 ` [meta-webserver][PATCH 3/3] phpmyadmin: fix PN->BPN " jackie.huang
2013-03-18 19:19 ` Joe MacDonald [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130318191946.GC14025@windriver.com \
    --to=joe.macdonald@windriver.com \
    --cc=Jackie.Huang@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox