Skip to contentSkip to conversation

fix for mesa-* build failures

GIT PULL Applied Saul Wold 2 participants 3 messages Sep 8, 2011

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

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

v2: Bump PR!
Found the right combination of args for link and sstate!

Sau!

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 |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.6
author
#1 lore raw

[PULL v2 1/1] python-native: add link for python2

Add link for python2 as some configuration tools search from a python2 and could find the host python instead of the python-native.

---
 .../recipes-devtools/python/python-native_2.6.6.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
meta/recipes-devtools/python/python-native_2.6.6.bb +4 -1
index 2b00d32..e0a4fb3 100644
@@ -1,6 +1,6 @@
 require python.inc
 DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native"
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.4"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6"
 
@@ -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 python ${D}${bindir}/python2
+
 }
Signature · 1 line
1.7.6
#2 lore raw

Re: [PULL v2 1/1] python-native: add link for python2

Quoted 7 lines · Saul Wold

Add link for python2 as some configuration tools search from a python2 and could find the host python instead of the python-native.

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

Merged to master. Interesting find!

Cheers,

Richard