From: Liu Jian <jian.liu@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] bootchart2: /sbin/bootchartd referencing wrong libdir
Date: Wed, 4 Mar 2015 16:59:47 +0800 [thread overview]
Message-ID: <54F6C983.3030906@windriver.com> (raw)
In-Reply-To: <1425453335-26755-1-git-send-email-jian.liu@windriver.com>
Please ignore this patch. Someone sent it previously
// Jian
于 2015年03月04日 15:15, Jian Liu 写道:
> - 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 <jian.liu@windriver.com>
> ---
> 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"
>
--
Jian Liu
Email: jian.liu@windriver.com
Office Phone: 86-10-84778539
prev parent reply other threads:[~2015-03-04 9:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-04 7:15 [PATCH] bootchart2: /sbin/bootchartd referencing wrong libdir Jian Liu
2015-03-04 8:59 ` Liu Jian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F6C983.3030906@windriver.com \
--to=jian.liu@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox