diff options
author | Shiqun Lin <Shiqun.Lin@windriver.com> | 2014-10-21 04:12:51 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-25 12:58:19 +0000 |
commit | c2332d304a2c872e97653c980b090efa2181123b (patch) | |
tree | 39790d4d805a507f93039acc71460b37f771f2fc /meta/recipes-connectivity | |
parent | 7ac224ee9f626d0ba2305bc4608b29f047cc65a4 (diff) | |
download | openembedded-core-c2332d304a2c872e97653c980b090efa2181123b.tar.gz openembedded-core-c2332d304a2c872e97653c980b090efa2181123b.tar.bz2 openembedded-core-c2332d304a2c872e97653c980b090efa2181123b.zip |
bind: clean host path in isc-config.sh
* /usr/bin/isc-config.sh
* /usr/bin/bind9-config - hardlink to isc-config.sh
Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r-- | meta/recipes-connectivity/bind/bind_9.9.5.bb | 7 |
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" FILES_${PN}-dev += "${bindir}/isc-config.h" FILES_${PN} += "${sbindir}/generate-rndc-key.sh" +do_install_prepend() { + # clean host path in isc-config.sh before the hardlink created + # by "make install": + # bind9-config -> isc-config.sh + sed -i -e "s,${STAGING_LIBDIR},${libdir}," ${S}/isc-config.sh +} + do_install_append() { rm "${D}${bindir}/nslookup" rm "${D}${mandir}/man1/nslookup.1" |