Openembedded Core Discussions
 help / color / mirror / Atom feed
* [patch] bind: adjust hardcoded install path references
@ 2011-06-15 14:26 Phil Blundell
  2011-06-15 14:28 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2011-06-15 14:26 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/recipes-connectivity/bind/bind_9.7.2-P3.bb |   10 +++++-----
 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 4094aeb..e3089bb 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} = " \
-- 
1.7.2.5






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] bind: adjust hardcoded install path references
  2011-06-15 14:26 [patch] bind: adjust hardcoded install path references Phil Blundell
@ 2011-06-15 14:28 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-06-15 14:28 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-06-15 at 15:26 +0100, Phil Blundell wrote:
> Fixes do_install() on micro, which otherwise fails for obvious reasons.
> 
> Signed-off-by: Phil Blundell <philb@gnu.org>
> ---
>  meta/recipes-connectivity/bind/bind_9.7.2-P3.bb |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-15 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 14:26 [patch] bind: adjust hardcoded install path references Phil Blundell
2011-06-15 14:28 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox