summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/bind
diff options
context:
space:
mode:
authorPhil Blundell <pb@pbcl.net>2011-06-15 15:26:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-15 15:28:20 +0100
commit2947f40510a8756895ec4edda2d07c1f915baa45 (patch)
tree172760013e74c492e4a65351275cd94d983de641 /meta/recipes-connectivity/bind
parent34f4f9eae8c588234b29e44f5a3ea9edbc10620d (diff)
downloadopenembedded-core-2947f40510a8756895ec4edda2d07c1f915baa45.tar.gz
openembedded-core-2947f40510a8756895ec4edda2d07c1f915baa45.tar.bz2
openembedded-core-2947f40510a8756895ec4edda2d07c1f915baa45.zip
bind: adjust hardcoded install path references
Fixes do_install() on micro, which otherwise fails for obvious reasons. Signed-off-by: Phil Blundell <philb@gnu.org>
Diffstat (limited to 'meta/recipes-connectivity/bind')
-rw-r--r--meta/recipes-connectivity/bind/bind_9.7.2-P3.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.7.2-P3.bb b/meta/recipes-connectivity/bind/bind_9.7.2-P3.bb
index 4094aeb6b4..e3089bbece 100644
--- a/meta/recipes-connectivity/bind/bind_9.7.2-P3.bb
+++ b/meta/recipes-connectivity/bind/bind_9.7.2-P3.bb
@@ -35,11 +35,11 @@ FILES_${PN}-utils = "${bindir}/host ${bindir}/dig ${bindir}/nslookup"
FILES_${PN}-dev += "${bindir}/isc-config.h"
do_install_append() {
- rm "${D}/usr/bin/nslookup"
- install -d "${D}/etc/bind"
- install -d "${D}/etc/init.d"
- install -m 644 ${S}/conf/* "${D}/etc/bind"
- install -m 755 "${S}/init.d" "${D}/etc/init.d/bind"
+ rm "${D}${bindir}/nslookup"
+ install -d "${D}${sysconfdir}/bind"
+ install -d "${D}${sysconfdir}/init.d"
+ install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"
+ install -m 755 "${S}/init.d" "${D}${sysconfdir}/init.d/bind"
}
CONFFILES_${PN} = " \