[oe-commits] Robert Yang : python-pygtk: fix native python path
git at git.openembedded.org
git at git.openembedded.org
Thu Aug 14 22:09:33 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: e19a8ea3c86da660a578fc82da39b58969d2011d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e19a8ea3c86da660a578fc82da39b58969d2011d
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Wed Aug 13 01:23:13 2014 -0700
python-pygtk: fix native python path
Fixed:
1) Set IMAGE_INSTALL_append = " python-pygtk-demo" in local.conf
2) $ bitbake core-image-minimal
[snip]
Computing transaction...error: Can't install python-pygtk-demo-2.24.0-r1 at core2_64: no package provides /usr/bin/python-native/python
[snip]
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/python/python-pygtk_2.24.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
index 3dbef89..8fc194f 100644
--- a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
+++ b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb
@@ -44,6 +44,7 @@ do_install_append() {
find ${D} -name "*.la"|xargs rm -f
rm -f ${D}/${bindir}/pygtk-codegen-2.0
rm -rf ${D}/${libdir}/pkgconfig
+ sed -i -e '1s|^#!.*python|#!/usr/bin/env python|' ${D}${bindir}/pygtk-demo
}
# dirty fix #2: fix build system paths leaking in
More information about the Openembedded-commits
mailing list