diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-08-13 01:23:13 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 18:19:53 +0100 |
commit | d70bc02a80f8508995cdf8ae536a0153cebee8c9 (patch) | |
tree | 937f7a46b98c9af53fd30de7df80a0d69a0f8da5 | |
parent | ef5e0c2ab57cedee64c4a470de170dc1f098be60 (diff) | |
download | openembedded-core-d70bc02a80f8508995cdf8ae536a0153cebee8c9.tar.gz openembedded-core-d70bc02a80f8508995cdf8ae536a0153cebee8c9.tar.bz2 openembedded-core-d70bc02a80f8508995cdf8ae536a0153cebee8c9.zip |
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@core2_64: no package provides /usr/bin/python-native/python
[snip]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/python/python-pygtk_2.24.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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 3dbef897a2..8fc194f5e6 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 |