[OE-core] [PATCH 1/1] python-pygtk: fix native python path
Robert Yang
liezhi.yang at windriver.com
Wed Aug 13 08:23:13 UTC 2014
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>
---
.../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
--
1.7.9.5
More information about the Openembedded-core
mailing list