From: Kai Kang <[email protected]> Correct python3 path in script pybootchartgui from bootchart2-native.
Signed-off-by: Kai Kang <[email protected]> --- meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb index 4f01734..dfd3c09 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb @@ -137,6 +137,10 @@ do_install () { sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/pybootchartgui } +do_install_append_class-native () { + sed -i '1s,#!.*,#!${PYTHON},' ${D}${bindir}/pybootchartgui +} + PACKAGES =+ "pybootchartgui" FILES_pybootchartgui += "${PYTHON_SITEPACKAGES_DIR}/pybootchartgui ${bindir}/pybootchartgui" RDEPENDS_pybootchartgui = "python3-pycairo python3-compression python3-image python3-textutils python3-shell python3-compression python3-codecs" -- 2.10.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
