Skip to contentSkip to conversation

bootchart2-native: correct python3 path

PATCH New [email protected] 1 participant 2 messages Dec 21, 2016

lore
Share & tools
lore
#0 lore raw

cover bootchart2-native: correct python3 path

From: Kai Kang <[email protected]>

The following changes since commit 8ccf396c7284acd7e0fdf95473d317d23d05475f:

Revert "selftest/wic: extending test coverage for WIC script options" (2016-12-20 17:06:38 +0000)

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-native: correct python3 path

 meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
2.10.1
#1 lore raw

PATCH 1/1 bootchart2-native: correct python3 path

From: Kai Kang <[email protected]>

Correct python3 path in script pybootchartgui from bootchart2-native.

---
 meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/bootchart2/bootchart2_0.14.8.bb +4 -0
index 4f01734..dfd3c09 100644
@@ -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"
Signature · 1 line
2.10.1