From 024caf6b0848118799fb15b912db7c5e1fc65488 Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Wed, 6 Sep 2017 18:22:46 +0800 Subject: bootchart2: update python interpreter For bootchart2-native, the python interpreter "#!FIXMESTAGINGDIRHOST/usr/bin/python3" of file pybootchartgui is not right. Use '#!${USRBINPATH}/env python3' instead to fix the issue. Signed-off-by: Kai Kang Signed-off-by: Ross Burton --- meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb index 4f01734bb0..a3101351ee 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb @@ -134,7 +134,7 @@ do_install () { echo 'EXIT_PROC="$EXIT_PROC matchbox-window-manager"' >> ${D}${sysconfdir}/bootchartd.conf # Use python 3 instead of python 2 - sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/pybootchartgui + sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/pybootchartgui } PACKAGES =+ "pybootchartgui" -- cgit 1.2.3-korg