All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] fix for mesa-* build failures
@ 2011-09-08  4:10 Saul Wold
  2011-09-08  4:10 ` [PATCH 1/1] python-native: add link for python2 Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2011-09-08  4:10 UTC (permalink / raw)
  To: openembedded-core

Fixes mesa configure scripts finding host (not native) 
python2 executable

The following changes since commit fa8dad209247b780590bc8476b5b16e6608d7907:

  avahi: only use gtk if DISTRO_FEATURES includes x11 (2011-09-07 23:44:07 +0100)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib sgw/fix
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/fix

Saul Wold (1):
  python-native: add link for python2

 .../recipes-devtools/python/python-native_2.6.6.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

-- 
1.7.6




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

* [PATCH 1/1] python-native: add link for python2
  2011-09-08  4:10 [PATCH 0/1] fix for mesa-* build failures Saul Wold
@ 2011-09-08  4:10 ` Saul Wold
  2011-09-08  6:09   ` Saul Wold
  0 siblings, 1 reply; 3+ messages in thread
From: Saul Wold @ 2011-09-08  4:10 UTC (permalink / raw)
  To: openembedded-core

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
+
 }
-- 
1.7.6




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

* Re: [PATCH 1/1] python-native: add link for python2
  2011-09-08  4:10 ` [PATCH 1/1] python-native: add link for python2 Saul Wold
@ 2011-09-08  6:09   ` Saul Wold
  0 siblings, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-09-08  6:09 UTC (permalink / raw)
  To: openembedded-core

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!

>   }



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

end of thread, other threads:[~2011-09-08  6:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.