[OE-core] [PATCH] latencytop: add sudo as runtime dependency

Maxin B. John maxin.john at enea.com
Fri Jan 4 11:30:55 UTC 2013


From: "Maxin B. John" <maxin.john at enea.com>

Latencytop needs superuser privileges. The latencytop plugin in
eclipse invokes it as 'sudo latencytop'. So, it will be good to
include sudo as a runtime dependency.

Signed-off-by: Maxin B. John <maxin.john at enea.com>
---
 meta/recipes-kernel/latencytop/latencytop_0.5.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-kernel/latencytop/latencytop_0.5.bb b/meta/recipes-kernel/latencytop/latencytop_0.5.bb
index 3e35bf9..a148a47 100644
--- a/meta/recipes-kernel/latencytop/latencytop_0.5.bb
+++ b/meta/recipes-kernel/latencytop/latencytop_0.5.bb
@@ -7,6 +7,9 @@ LIC_FILES_CHKSUM = "file://latencytop.c;endline=23;md5=ee9ea9b1415356e5734adad4a
 
 DEPENDS = "virtual/libintl ncurses glib-2.0  ${@base_contains('DISTRO_FEATURES', 'x11', 'gtk+', '', d)}"
 
+# latencytop and it's eclipse support need sudo
+RDEPENDS_${PN} = "sudo"
+
 PR = "r3"
 
 SRC_URI = "http://www.latencytop.org/download/latencytop-${PV}.tar.gz \
-- 
1.7.5.4





More information about the Openembedded-core mailing list