diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2013-03-15 14:41:54 +0800 |
---|---|---|
committer | Joe MacDonald <joe.macdonald@windriver.com> | 2013-03-18 15:13:52 -0400 |
commit | 70b1e90f6dc11f0969809f36ad22c6f1bfd4f74d (patch) | |
tree | 5d5702e211088762ac85549c8f265990c218894d /meta-networking/recipes-connectivity/inetutils | |
parent | 2d6c355a55ab92555128a3c3e876a7752c035329 (diff) | |
download | meta-openembedded-contrib-70b1e90f6dc11f0969809f36ad22c6f1bfd4f74d.tar.gz |
inetutils: fix PN -> BPN in do_install for multilibs
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/inetutils')
-rw-r--r-- | meta-networking/recipes-connectivity/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 81457d7d668..155befec1b7 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} } |