Skip to contentSkip to conversation

bind: adjust hardcoded install path references

PATCH Applied Phil Blundell 2 participants 2 messages Jun 15, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bind: adjust hardcoded install path references

Fixes do_install() on micro, which otherwise fails for obvious reasons.

---
 meta/recipes-connectivity/bind/bind_9.7.2-P3.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-connectivity/bind/bind_9.7.2-P3.bb +5 -5
index 4094aeb..e3089bb 100644
@@ -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} = " \
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 6 lines · Phil Blundell

Fixes do_install() on micro, which otherwise fails for obvious reasons.

---
 meta/recipes-connectivity/bind/bind_9.7.2-P3.bb |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

Merged to master, thanks.

Richard