Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <pb@pbcl.net>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: [patch] bind: adjust hardcoded install path references
Date: Wed, 15 Jun 2011 15:26:06 +0100	[thread overview]
Message-ID: <1308147966.25285.1758.camel@phil-desktop> (raw)

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






             reply	other threads:[~2011-06-15 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15 14:26 Phil Blundell [this message]
2011-06-15 14:28 ` [patch] bind: adjust hardcoded install path references Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1308147966.25285.1758.camel@phil-desktop \
    --to=pb@pbcl.net \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox