Skip to contentSkip to conversation

bootchart2: update python interpreter

PATCH New [email protected] 1 participant 2 messages Sep 6, 2017

lore
Share & tools
lore
#0 lore raw

cover bootchart2: update python interpreter

From: Kai Kang <[email protected]>

The following changes since commit 8b4f16a9cbbaf521461f699b7264fac2ac872581:

mesa-gl: Fix build after recent mesa PACKAGECONFIG changes (2017-09-05 15:01:02 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib kangkai/bootchart2
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/bootchart2

Kai Kang (1):
bootchart2: update python interpreter

 meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 bootchart2: update python interpreter

From: Kai Kang <[email protected]>

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.

---
 meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb +1 -1
index 4f01734bb0..a3101351ee 100644
@@ -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"
Signature · 1 line
2.14.1