[oe-commits] Koen Kooi : collections.inc: comment out python statement that inject PYTHONPATH into the global environment

git version control git at git.openembedded.org
Mon Feb 15 15:31:02 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: fd4a161b6095f5b6f83d50d4d979000399944260
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fd4a161b6095f5b6f83d50d4d979000399944260

Author: Koen Kooi <koen at openembedded.org>
Date:   Mon Feb 15 11:49:35 2010 +0100

collections.inc: comment out python statement that inject PYTHONPATH into the global environment

---

 conf/collections.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/conf/collections.inc b/conf/collections.inc
index 831ca93..6a0f41f 100644
--- a/conf/collections.inc
+++ b/conf/collections.inc
@@ -166,7 +166,9 @@ def collections_setup(d):
         import sys
         bb.debug(1, "Re-executing bitbake with BBPATH of %s" % d.getVar("BBPATH", 0))
         os.environ["BBPATH"] = d.getVar("BBPATH", 0)
-        os.environ["PYTHONPATH"] = ":".join(sys.path)
+        # FIXME: This exports a bogus PYTHONPATH to OE recipes resulting in massive breakages: 
+        # http://thread.gmane.org/gmane.comp.handhelds.openembedded/30163
+        # os.environ["PYTHONPATH"] = ":".join(sys.path)
         sys.argv.insert(0, sys.executable)
         os.execvpe(sys.executable, sys.argv, os.environ)
 





More information about the Openembedded-commits mailing list