summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-03-06 09:59:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-06 16:26:47 +0000
commit39685e2daf720b408861cd82e1c47bf88c0523af (patch)
tree4912b81e795f7050bfdc597744284aa0f6e70975 /meta/recipes-connectivity
parent271a86cb0ca1e9dd46107ab5f47ab85034021420 (diff)
downloadpoky-39685e2daf720b408861cd82e1c47bf88c0523af.tar.gz
bind-utils: Install nslookup
nslookup was undeprecated 15 years ago, and installing bind-utils should replace the busybox version. (From OE-Core rev: 6d594e2a466a75f88fe8ab454e58ae20e3bdee05) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/bind/bind_9.11.5.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.11.5.bb b/meta/recipes-connectivity/bind/bind_9.11.5.bb
index 11990ee27e..67672792b1 100644
--- a/meta/recipes-connectivity/bind/bind_9.11.5.bb
+++ b/meta/recipes-connectivity/bind/bind_9.11.5.bb
@@ -73,8 +73,6 @@ do_install_prepend() {
73 73
74do_install_append() { 74do_install_append() {
75 75
76 rm "${D}${bindir}/nslookup"
77 rm "${D}${mandir}/man1/nslookup.1"
78 rmdir "${D}${localstatedir}/run" 76 rmdir "${D}${localstatedir}/run"
79 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}" 77 rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
80 install -d -o bind "${D}${localstatedir}/cache/bind" 78 install -d -o bind "${D}${localstatedir}/cache/bind"
@@ -118,8 +116,12 @@ CONFFILES_${PN} = " \
118 ${sysconfdir}/bind/db.root \ 116 ${sysconfdir}/bind/db.root \
119 " 117 "
120 118
119ALTERNATIVE_${PN}-utils = "nslookup"
120ALTERNATIVE_LINK_NAME[nslookup] = "${bindir}/nslookup"
121ALTERNATIVE_PRIORITY = "100"
122
121PACKAGE_BEFORE_PN += "${PN}-utils" 123PACKAGE_BEFORE_PN += "${PN}-utils"
122FILES_${PN}-utils = "${bindir}/host ${bindir}/dig ${bindir}/mdig ${bindir}/nsupdate" 124FILES_${PN}-utils = "${bindir}/host ${bindir}/dig ${bindir}/mdig ${bindir}/nslookup ${bindir}/nsupdate"
123FILES_${PN}-dev += "${bindir}/isc-config.h" 125FILES_${PN}-dev += "${bindir}/isc-config.h"
124FILES_${PN} += "${sbindir}/generate-rndc-key.sh" 126FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
125 127