diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2020-12-22 16:29:34 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-24 08:25:14 +0000 |
commit | 3e4fd525cba25d3cddc40a7b85426da586ba16b7 (patch) | |
tree | c2227e448e5c44483cc546ac06335fb7f956e70f /meta/recipes-connectivity/inetutils | |
parent | 578818509d8ae3c1afad7e0f113699030253506d (diff) | |
download | poky-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.bb | 4 |
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" | |||
118 | NOAUTOPACKAGEDEBUG = "1" | 119 | NOAUTOPACKAGEDEBUG = "1" |
119 | 120 | ||
120 | ALTERNATIVE_PRIORITY = "79" | 121 | ALTERNATIVE_PRIORITY = "79" |
121 | ALTERNATIVE_${PN} = "whois" | 122 | ALTERNATIVE_${PN} = "whois dnsdomainname" |
122 | ALTERNATIVE_LINK_NAME[uucpd] = "${sbindir}/in.uucpd" | 123 | ALTERNATIVE_LINK_NAME[uucpd] = "${sbindir}/in.uucpd" |
124 | ALTERNATIVE_LINK_NAME[dnsdomainname] = "${base_bindir}/dnsdomainname" | ||
123 | 125 | ||
124 | ALTERNATIVE_PRIORITY_${PN}-logger = "60" | 126 | ALTERNATIVE_PRIORITY_${PN}-logger = "60" |
125 | ALTERNATIVE_${PN}-logger = "logger" | 127 | ALTERNATIVE_${PN}-logger = "logger" |