diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-03-06 09:59:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-06 16:26:47 +0000 |
commit | 39685e2daf720b408861cd82e1c47bf88c0523af (patch) | |
tree | 4912b81e795f7050bfdc597744284aa0f6e70975 /meta/recipes-connectivity | |
parent | 271a86cb0ca1e9dd46107ab5f47ab85034021420 (diff) | |
download | poky-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.bb | 8 |
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 | ||
74 | do_install_append() { | 74 | do_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 | ||
119 | ALTERNATIVE_${PN}-utils = "nslookup" | ||
120 | ALTERNATIVE_LINK_NAME[nslookup] = "${bindir}/nslookup" | ||
121 | ALTERNATIVE_PRIORITY = "100" | ||
122 | |||
121 | PACKAGE_BEFORE_PN += "${PN}-utils" | 123 | PACKAGE_BEFORE_PN += "${PN}-utils" |
122 | FILES_${PN}-utils = "${bindir}/host ${bindir}/dig ${bindir}/mdig ${bindir}/nsupdate" | 124 | FILES_${PN}-utils = "${bindir}/host ${bindir}/dig ${bindir}/mdig ${bindir}/nslookup ${bindir}/nsupdate" |
123 | FILES_${PN}-dev += "${bindir}/isc-config.h" | 125 | FILES_${PN}-dev += "${bindir}/isc-config.h" |
124 | FILES_${PN} += "${sbindir}/generate-rndc-key.sh" | 126 | FILES_${PN} += "${sbindir}/generate-rndc-key.sh" |
125 | 127 | ||