summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind
diff options
context:
space:
mode:
authorShiqun Lin <Shiqun.Lin@windriver.com>2014-10-21 04:12:51 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-25 13:03:28 +0000
commitfa234ef4e0855bfcd0411c6039d941c59d421b36 (patch)
tree449723be14b612e615253b0537429a4a59857a2f /meta/recipes-connectivity/bind
parentfc5ad52ca7df269eecb076e2c4429a2319b08683 (diff)
downloadpoky-fa234ef4e0855bfcd0411c6039d941c59d421b36.tar.gz
bind: clean host path in isc-config.sh
* /usr/bin/isc-config.sh * /usr/bin/bind9-config - hardlink to isc-config.sh (From OE-Core rev: c2332d304a2c872e97653c980b090efa2181123b) Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com> Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/bind')
-rw-r--r--meta/recipes-connectivity/bind/bind_9.9.5.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.9.5.bb b/meta/recipes-connectivity/bind/bind_9.9.5.bb
index 73f386e6f1..635d27732b 100644
--- a/meta/recipes-connectivity/bind/bind_9.9.5.bb
+++ b/meta/recipes-connectivity/bind/bind_9.9.5.bb
@@ -51,6 +51,13 @@ FILES_${PN}-utils = "${bindir}/host ${bindir}/dig"
51FILES_${PN}-dev += "${bindir}/isc-config.h" 51FILES_${PN}-dev += "${bindir}/isc-config.h"
52FILES_${PN} += "${sbindir}/generate-rndc-key.sh" 52FILES_${PN} += "${sbindir}/generate-rndc-key.sh"
53 53
54do_install_prepend() {
55 # clean host path in isc-config.sh before the hardlink created
56 # by "make install":
57 # bind9-config -> isc-config.sh
58 sed -i -e "s,${STAGING_LIBDIR},${libdir}," ${S}/isc-config.sh
59}
60
54do_install_append() { 61do_install_append() {
55 rm "${D}${bindir}/nslookup" 62 rm "${D}${bindir}/nslookup"
56 rm "${D}${mandir}/man1/nslookup.1" 63 rm "${D}${mandir}/man1/nslookup.1"