summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/inetutils
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2020-12-22 16:29:34 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-24 08:25:14 +0000
commit3e4fd525cba25d3cddc40a7b85426da586ba16b7 (patch)
treec2227e448e5c44483cc546ac06335fb7f956e70f /meta/recipes-connectivity/inetutils
parent578818509d8ae3c1afad7e0f113699030253506d (diff)
downloadpoky-3e4fd525cba25d3cddc40a7b85426da586ba16b7.tar.gz
inetutils: add dnsdomainname to ALTERNATIVE
The dnsdomainname can also be provided by busybox and net-tools. Also move it from ${bindir} to ${base_bindir} because the command provided by busybox or net-tools is located here. (From OE-Core rev: 3b258e4d9e38d4224029ad503c7821d9381264c0) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/inetutils')
-rw-r--r--meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb b/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb
index adf6d4414e..09a196ad9d 100644
--- a/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb
+++ b/meta/recipes-connectivity/inetutils/inetutils_1.9.4.bb
@@ -71,6 +71,7 @@ do_install_append () {
71 install -m 0755 -d ${D}${base_bindir} 71 install -m 0755 -d ${D}${base_bindir}
72 mv ${D}${bindir}/ping* ${D}${base_bindir}/ 72 mv ${D}${bindir}/ping* ${D}${base_bindir}/
73 mv ${D}${bindir}/hostname ${D}${base_bindir}/ 73 mv ${D}${bindir}/hostname ${D}${base_bindir}/
74 mv ${D}${bindir}/dnsdomainname ${D}${base_bindir}/
74 fi 75 fi
75 mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/ 76 mv ${D}${bindir}/ifconfig ${D}${base_sbindir}/
76 mv ${D}${libexecdir}/syslogd ${D}${base_sbindir}/ 77 mv ${D}${libexecdir}/syslogd ${D}${base_sbindir}/
@@ -118,8 +119,9 @@ PACKAGES =+ "${PN}-tftpd-dbg ${PN}-telnetd-dbg ${PN}-rshd-dbg"
118NOAUTOPACKAGEDEBUG = "1" 119NOAUTOPACKAGEDEBUG = "1"
119 120
120ALTERNATIVE_PRIORITY = "79" 121ALTERNATIVE_PRIORITY = "79"
121ALTERNATIVE_${PN} = "whois" 122ALTERNATIVE_${PN} = "whois dnsdomainname"
122ALTERNATIVE_LINK_NAME[uucpd] = "${sbindir}/in.uucpd" 123ALTERNATIVE_LINK_NAME[uucpd] = "${sbindir}/in.uucpd"
124ALTERNATIVE_LINK_NAME[dnsdomainname] = "${base_bindir}/dnsdomainname"
123 125
124ALTERNATIVE_PRIORITY_${PN}-logger = "60" 126ALTERNATIVE_PRIORITY_${PN}-logger = "60"
125ALTERNATIVE_${PN}-logger = "logger" 127ALTERNATIVE_${PN}-logger = "logger"