From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/1] python-native: add link for python2
Date: Wed, 07 Sep 2011 23:09:16 -0700 [thread overview]
Message-ID: <4E685C0C.3080900@linux.intel.com> (raw)
In-Reply-To: <968b5b20ecf5bf9372217781135ead2acf8013a2.1315454900.git.sgw@linux.intel.com>
On 09/07/2011 09:10 PM, Saul Wold wrote:
> Add link for python2 as some configuration tools search from a python2
> and could find the host python instead of the python-native.
>
> Signed-off-by: Saul Wold<sgw@linux.intel.com>
> ---
> .../recipes-devtools/python/python-native_2.6.6.bb | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-devtools/python/python-native_2.6.6.bb b/meta/recipes-devtools/python/python-native_2.6.6.bb
> index 2b00d32..503bd96 100644
> --- a/meta/recipes-devtools/python/python-native_2.6.6.bb
> +++ b/meta/recipes-devtools/python/python-native_2.6.6.bb
> @@ -42,4 +42,7 @@ do_install() {
> for PYTHSCRIPT in `grep -rIl ${bindir}/python ${D}${bindir}`; do
> sed -i -e '1s|^#!.*|#!/usr/bin/env python|' $PYTHSCRIPT
> done
> +
> + ln -sf ${D}${bindir}/python ${D}${bindir}/python2
> +
This is the right idea, but clearly this is the wrong execution for
shared state, I tried a ${STAING_DIR...} variant but that also failed,
what am I doing wrong?
I see this type of ln usage in other recipes.
Sau!
> }
prev parent reply other threads:[~2011-09-08 6:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 4:10 [PATCH 0/1] fix for mesa-* build failures Saul Wold
2011-09-08 4:10 ` [PATCH 1/1] python-native: add link for python2 Saul Wold
2011-09-08 6:09 ` Saul Wold [this message]
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=4E685C0C.3080900@linux.intel.com \
--to=sgw@linux.intel.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.