Skip to contentSkip to conversation

bootchart2: fix to find collector correctly in case of multilib

PATCH New Chen Qi 1 participant 2 messages Dec 2, 2014

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover bootchart2: fix to find collector correctly in case of multilib

The following changes since commit 68ddb28a68ceb59cd1ed322c16143827ce1ac712:

distrodata_class: checkpkg make usage of latest_versionstring methods in bitbake fetcher (2014-11-28 13:59:52 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib ChenQi/bootchart2
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/bootchart2

Chen Qi (1):
bootchart2: fix to find collector correctly in case of multilib

 meta/recipes-devtools/bootchart2/bootchart2_git.bb | 6 ++++++
 1 file changed, 6 insertions(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 bootchart2: fix to find collector correctly in case of multilib

This patch fixes the following error of being not able to find the bootchart-collector program when using bootchart2 in multilib system.

In order for bootchartd to correctly find the collector program, we need to set several vars while compiling.

---
 meta/recipes-devtools/bootchart2/bootchart2_git.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta/recipes-devtools/bootchart2/bootchart2_git.bb +6 -0
index 04fb901..5fc7211 100644
@@ -120,6 +120,12 @@ do_compile_append_class-native () {
     chmod +x ${S}/pybootchartgui
 }
 
+do_compile_prepend () {
+    export PY_LIBDIR="${libdir}/${PYTHON_DIR}"
+    export BINDIR="${bindir}"
+    export LIBDIR="${base_libdir}"
+}
+
 do_install () {
     install -d ${D}${sysconfdir} # needed for -native
     export PY_LIBDIR="${libdir}/${PYTHON_DIR}"
Signature · 1 line
1.9.1