summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-08-13 01:23:13 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 18:21:51 +0100
commitae8d3bc5228d8f1a265c81b1539d60f4ccf541a7 (patch)
tree4aa02b96d49322fb1466d1b31c6376ec5e9c9680 /meta/recipes-devtools/python
parent9a30d34a4e6db62c1631587d9c651563c5c0fd7e (diff)
downloadpoky-ae8d3bc5228d8f1a265c81b1539d60f4ccf541a7.tar.gz
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] (From OE-Core rev: d70bc02a80f8508995cdf8ae536a0153cebee8c9) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python-pygtk_2.24.0.bb1
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() {
44 find ${D} -name "*.la"|xargs rm -f 44 find ${D} -name "*.la"|xargs rm -f
45 rm -f ${D}/${bindir}/pygtk-codegen-2.0 45 rm -f ${D}/${bindir}/pygtk-codegen-2.0
46 rm -rf ${D}/${libdir}/pkgconfig 46 rm -rf ${D}/${libdir}/pkgconfig
47 sed -i -e '1s|^#!.*python|#!/usr/bin/env python|' ${D}${bindir}/pygtk-demo
47} 48}
48 49
49# dirty fix #2: fix build system paths leaking in 50# dirty fix #2: fix build system paths leaking in