All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bootchart2: add runtime dependency
@ 2015-06-29  5:39 rongqing.li
  2015-06-29 16:35 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: rongqing.li @ 2015-06-29  5:39 UTC (permalink / raw)
  To: openembedded-core

From: Roy Li <rongqing.li@windriver.com>

bootchartd needs the command lsb_release and pidof to run, pidof maybe
provided by sysvinit or procpus

Signed-off-by: Roy Li <rongqing.li@windriver.com>
---
 meta/recipes-devtools/bootchart2/bootchart2_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_git.bb
index 5fc7211..586417e 100644
--- a/meta/recipes-devtools/bootchart2/bootchart2_git.bb
+++ b/meta/recipes-devtools/bootchart2/bootchart2_git.bb
@@ -143,6 +143,8 @@ do_install () {
 PACKAGES =+ "pybootchartgui"
 FILES_pybootchartgui += "${libdir}/python*/site-packages/pybootchartgui ${bindir}/pybootchartgui"
 RDEPENDS_pybootchartgui = "python-pycairo python-compression python-image python-textutils python-shell python-compression python-codecs"
+RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}"
+RDEPENDS_${PN} += "lsb"
 DEPENDS_append_class-native = " python-pycairo-native"
 
 PACKAGES =+ "bootchartd-stop-initscript"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] bootchart2: add runtime dependency
  2015-06-29  5:39 [PATCH] bootchart2: add runtime dependency rongqing.li
@ 2015-06-29 16:35 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2015-06-29 16:35 UTC (permalink / raw)
  To: rongqing.li; +Cc: openembedded-core

On Mon, 2015-06-29 at 13:39 +0800, rongqing.li@windriver.com wrote:
> From: Roy Li <rongqing.li@windriver.com>
> 
> bootchartd needs the command lsb_release and pidof to run, pidof maybe
> provided by sysvinit or procpus
> 
> Signed-off-by: Roy Li <rongqing.li@windriver.com>
> ---
>  meta/recipes-devtools/bootchart2/bootchart2_git.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_git.bb
> index 5fc7211..586417e 100644
> --- a/meta/recipes-devtools/bootchart2/bootchart2_git.bb
> +++ b/meta/recipes-devtools/bootchart2/bootchart2_git.bb
> @@ -143,6 +143,8 @@ do_install () {
>  PACKAGES =+ "pybootchartgui"
>  FILES_pybootchartgui += "${libdir}/python*/site-packages/pybootchartgui ${bindir}/pybootchartgui"
>  RDEPENDS_pybootchartgui = "python-pycairo python-compression python-image python-textutils python-shell python-compression python-codecs"
> +RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}"
> +RDEPENDS_${PN} += "lsb"
>  DEPENDS_append_class-native = " python-pycairo-native"
>  

Results in 

https://autobuilder.yoctoproject.org/main/builders/build-appliance/builds/358/steps/BuildImages/logs/stdio

Cheers,

Richard



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-29 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-29  5:39 [PATCH] bootchart2: add runtime dependency rongqing.li
2015-06-29 16:35 ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.