From patchwork Fri Jan 4 11:30:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: latencytop: add sudo as runtime dependency Date: Fri, 04 Jan 2013 11:30:55 -0000 From: Maxin B. John X-Patchwork-Id: 41981 Message-Id: <1357299055-56828-1-git-send-email-maxin.john@enea.com> To: , Cc: "Maxin B. John" , scott.a.garman@intel.com From: "Maxin B. John" 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 --- 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 \