summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2013-03-15 14:41:54 +0800
committerJoe MacDonald <joe.macdonald@windriver.com>2013-03-18 15:13:52 -0400
commit70b1e90f6dc11f0969809f36ad22c6f1bfd4f74d (patch)
tree5d5702e211088762ac85549c8f265990c218894d /meta-networking
parent2d6c355a55ab92555128a3c3e876a7752c035329 (diff)
downloadmeta-openembedded-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')
-rw-r--r--meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb35
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 81457d7d6..155befec1 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"
8 8
9LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7" 9LIC_FILES_CHKSUM = "file://COPYING;md5=0c7051aef9219dc7237f206c5c4179a7"
10 10
11PR = "r1"
11 12
12SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \ 13SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
13 file://disable-pre-ANSI-compilers.patch \ 14 file://disable-pre-ANSI-compilers.patch \
@@ -37,27 +38,27 @@ do_configure_prepend () {
37do_install () { 38do_install () {
38 autotools_do_install 39 autotools_do_install
39 install -d ${D}${base_sbindir} ${D}${base_bindir} 40 install -d ${D}${base_sbindir} ${D}${base_bindir}
40 mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${PN} 41 mv ${D}${bindir}/tftp ${D}${bindir}/tftp.${BPN}
41 mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${PN} 42 mv ${D}${bindir}/telnet ${D}${bindir}/telnet.${BPN}
42 mv ${D}${bindir}/logger ${D}${bindir}/logger.${PN} 43 mv ${D}${bindir}/logger ${D}${bindir}/logger.${BPN}
43 mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${PN} 44 mv ${D}${bindir}/traceroute ${D}${bindir}/traceroute.${BPN}
44 mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} 45 mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${BPN}
45 mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${PN} 46 mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ifconfig.${BPN}
46} 47}
47 48
48pkg_postinst_${PN} () { 49pkg_postinst_${PN} () {
49 update-alternatives --install ${bindir}/tftp tftp tftp.${PN} 100 50 update-alternatives --install ${bindir}/tftp tftp tftp.${BPN} 100
50 update-alternatives --install ${bindir}/telnet telnet telnet.${PN} 100 51 update-alternatives --install ${bindir}/telnet telnet telnet.${BPN} 100
51 update-alternatives --install ${bindir}/logger logger logger.${PN} 100 52 update-alternatives --install ${bindir}/logger logger logger.${BPN} 100
52 update-alternatives --install ${bindir}/traceroute traceroute traceroute.${PN} 100 53 update-alternatives --install ${bindir}/traceroute traceroute traceroute.${BPN} 100
53 update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 100 54 update-alternatives --install ${base_bindir}/hostname hostname hostname.${BPN} 100
54 update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${PN} 100 55 update-alternatives --install ${base_sbindir}/ifconfig ifconfig ifconfig.${BPN} 100
55} 56}
56 57
57pkg_prerm_${PN} () { 58pkg_prerm_${PN} () {
58 update-alternatives --remove tftp tftp.${PN} 59 update-alternatives --remove tftp tftp.${BPN}
59 update-alternatives --remove telnet telnet.${PN} 60 update-alternatives --remove telnet telnet.${BPN}
60 update-alternatives --remove logger logger.${PN} 61 update-alternatives --remove logger logger.${BPN}
61 update-alternatives --remove traceroute traceroute.${PN} 62 update-alternatives --remove traceroute traceroute.${BPN}
62 update-alternatives --remove ifconfig ifconfig.${PN} 63 update-alternatives --remove ifconfig ifconfig.${BPN}
63} 64}