mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
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>
This commit is contained in:
parent
9a30d34a4e
commit
ae8d3bc522
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user