diff options
author | Roy Li <rongqing.li@windriver.com> | 2015-07-01 09:54:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-09 18:00:20 +0100 |
commit | 92c10c9fc3a92e8fefe31d0c9cf321332169d44b (patch) | |
tree | 22aa5de11638d7ed4ac8b4ee2079053b6bdffa19 /meta/recipes-devtools/bootchart2 | |
parent | 975cb960aad5b6235b4ac0b77238740931b703ac (diff) | |
download | poky-92c10c9fc3a92e8fefe31d0c9cf321332169d44b.tar.gz |
bootchart2: add runtime dependency
Bootchartd needs the command lsb_release and pidof to run, pidof maybe
provided by sysvinit or procpus;
To native bootchart2, only pybootchartgui is used, and which is not needed
both pidof and lsb_release
(From OE-Core rev: d0d641bf8cbf96d7c30dfcbdf2572d2709b56858)
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/bootchart2')
-rw-r--r-- | meta/recipes-devtools/bootchart2/bootchart2_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/bootchart2/bootchart2_git.bb b/meta/recipes-devtools/bootchart2/bootchart2_git.bb index 5fc7211f79..ea9f179e8c 100644 --- a/meta/recipes-devtools/bootchart2/bootchart2_git.bb +++ b/meta/recipes-devtools/bootchart2/bootchart2_git.bb | |||
@@ -143,6 +143,8 @@ do_install () { | |||
143 | PACKAGES =+ "pybootchartgui" | 143 | PACKAGES =+ "pybootchartgui" |
144 | FILES_pybootchartgui += "${libdir}/python*/site-packages/pybootchartgui ${bindir}/pybootchartgui" | 144 | FILES_pybootchartgui += "${libdir}/python*/site-packages/pybootchartgui ${bindir}/pybootchartgui" |
145 | RDEPENDS_pybootchartgui = "python-pycairo python-compression python-image python-textutils python-shell python-compression python-codecs" | 145 | RDEPENDS_pybootchartgui = "python-pycairo python-compression python-image python-textutils python-shell python-compression python-codecs" |
146 | RDEPENDS_${PN}_class-target += "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit-pidof', 'procps', d)}" | ||
147 | RDEPENDS_${PN}_class-target += "lsb" | ||
146 | DEPENDS_append_class-native = " python-pycairo-native" | 148 | DEPENDS_append_class-native = " python-pycairo-native" |
147 | 149 | ||
148 | PACKAGES =+ "bootchartd-stop-initscript" | 150 | PACKAGES =+ "bootchartd-stop-initscript" |