diff options
author | Kai Kang <kai.kang@windriver.com> | 2017-09-06 18:22:46 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-11 17:30:29 +0100 |
commit | 65fd5ce3e6a7e3b469e3f28d7a996299aab642fb (patch) | |
tree | ed527631f5e19e50eef78553344b32e782d171ff /meta/recipes-devtools/bootchart2 | |
parent | ef379f311fff9edb38dac789d883e360606941ed (diff) | |
download | poky-65fd5ce3e6a7e3b469e3f28d7a996299aab642fb.tar.gz |
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.
(From OE-Core rev: 024caf6b0848118799fb15b912db7c5e1fc65488)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/bootchart2')
-rw-r--r-- | meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
134 | echo 'EXIT_PROC="$EXIT_PROC matchbox-window-manager"' >> ${D}${sysconfdir}/bootchartd.conf | 134 | echo 'EXIT_PROC="$EXIT_PROC matchbox-window-manager"' >> ${D}${sysconfdir}/bootchartd.conf |
135 | 135 | ||
136 | # Use python 3 instead of python 2 | 136 | # Use python 3 instead of python 2 |
137 | sed -i -e '1s,#!.*python.*,#!${bindir}/python3,' ${D}${bindir}/pybootchartgui | 137 | sed -i -e '1s,#!.*python.*,#!${USRBINPATH}/env python3,' ${D}${bindir}/pybootchartgui |
138 | } | 138 | } |
139 | 139 | ||
140 | PACKAGES =+ "pybootchartgui" | 140 | PACKAGES =+ "pybootchartgui" |