Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Phil Blundell <pb@pbcl.net>
To: openembedded-core@lists.linuxtogo.org
Subject: [PATCH] guilt-native: eliminate hardcoded "/usr" in do_install
Date: Tue, 17 May 2011 11:34:14 +0100	[thread overview]
Message-ID: <1305628454.2429.187.camel@phil-desktop> (raw)

For some reason guilt-native seems to have gone out of its way to refer explicitly to /usr, which breaks on micro. 
Let's use ${prefix} instead.

---
 meta/recipes-devtools/guilt/guilt-native_0.33.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/guilt/guilt-native_0.33.bb b/meta/recipes-devtools/guilt/guilt-native_0.33.bb
index 6261330..7d0246e 100644
--- a/meta/recipes-devtools/guilt/guilt-native_0.33.bb
+++ b/meta/recipes-devtools/guilt/guilt-native_0.33.bb
@@ -28,5 +28,5 @@ do_compile() {
 }

 do_install() {
-       oe_runmake PREFIX=${D}/${base_prefix}/usr install
+       oe_runmake PREFIX=${D}/${prefix} install
 }






             reply	other threads:[~2011-05-17 11:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17 10:34 Phil Blundell [this message]
2011-05-17 14:01 ` [PATCH] guilt-native: eliminate hardcoded "/usr" in do_install 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=1305628454.2429.187.camel@phil-desktop \
    --to=pb@pbcl.net \
    --cc=openembedded-core@lists.linuxtogo.org \
    --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