- During do_compile(), LIBDIR is set with default vaule which is /lib. bootchartd will use LIBDIR to comprise the path of bootchart-collector when compiling. But during do_install(), LIBDIR is set to /lib64. The path that bootchart-collector is installed in is under LIBDIR
So bootchartd can not find bootchart-collector. Set LIBDIR to /lib64 during both task to fix this inconsistence - bootchartd depends the command lsb_release and pidof during running, so add sysvinit-pidof and lsb in the RDEPENDS Signed-off-by: Jian Liu <[email protected]> --- meta/recipes-devtools/bootchart2/bootchart2_git.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_git.bb index 04fb901..2c6d0ff 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_git.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_git.bb @@ -120,6 +120,10 @@ do_compile_append_class-native () { chmod +x ${S}/pybootchartgui } +do_compile_prepend () { + export LIBDIR="${base_libdir}" +} + do_install () { install -d ${D}${sysconfdir} # needed for -native export PY_LIBDIR="${libdir}/${PYTHON_DIR}" @@ -136,6 +140,7 @@ do_install () { PACKAGES =+ "pybootchartgui" FILES_pybootchartgui += "${libdir}/python*/site-packages/pybootchartgui ${bindir}/pybootchartgui" +RDEPENDS_${PN} = "sysvinit-pidof lsb" RDEPENDS_pybootchartgui = "python-pycairo python-compression python-image python-textutils python-shell python-compression python-codecs" DEPENDS_append_class-native = " python-pycairo-native" -- 1.8.5.2.233.g932f7e4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
