From ae8d3bc5228d8f1a265c81b1539d60f4ccf541a7 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 13 Aug 2014 01:23:13 -0700 Subject: 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 Signed-off-by: Richard Purdie --- 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 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 -- cgit v1.2.3-54-g00ecf