aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-06-14 11:37:39 -0700
committerTom Rini <tom_rini@mentor.com>2011-06-14 15:00:18 -0700
commit2a430776fe79123a35c2a41bfb90237ad1ad170b (patch)
treea8103c1a3e7fa987ee876c875cd62c40f04d7b4f
parent3c2fb5ab3cff79174cd5c25e9b05effc69080b47 (diff)
downloadopenembedded-2a430776fe79123a35c2a41bfb90237ad1ad170b.tar.gz
ust.inc: Fix ustd.init for 0.12
With 0.12, how ust daemon needs to be started changed, update the initscript for it. (While in here, Tom dropped S assignment from ust.inc). Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
-rw-r--r--recipes/lttng/ust.inc4
-rw-r--r--recipes/lttng/ust/ustd.init4
2 files changed, 3 insertions, 5 deletions
diff --git a/recipes/lttng/ust.inc b/recipes/lttng/ust.inc
index 39ef1f5ab3..dd9a743e9b 100644
--- a/recipes/lttng/ust.inc
+++ b/recipes/lttng/ust.inc
@@ -4,7 +4,7 @@ PRIORITY = "optional"
LICENSE = "GPLv2 and LGPLv2.1"
DEPENDS = "liburcu"
-PR = "r4"
+PR = "r5"
inherit update-rc.d
@@ -16,8 +16,6 @@ UST_BASEDIR = "/tmp/ust"
SRC_URI = "http://lttng.org/files/ust/releases/ust-${PV}.tar.gz \
file://ustd.init"
-S = "${WORKDIR}/ust-${PV}"
-
inherit autotools
do_compile_append () {
diff --git a/recipes/lttng/ust/ustd.init b/recipes/lttng/ust/ustd.init
index c23372a588..5810a82953 100644
--- a/recipes/lttng/ust/ustd.init
+++ b/recipes/lttng/ust/ustd.init
@@ -1,13 +1,13 @@
#!/bin/sh
-PIDFILE="/var/run/ustd.pid"
+PIDFILE="/var/run/ust-consumerd.pid"
TRACEDIR="/tmp/ust"
case "$1" in
start)
mkdir -p $TRACEDIR
- ustd -o $TRACEDIR -d --pidfile $PIDFILE
+ ust-consumerd -o $TRACEDIR -d --pidfile $PIDFILE
;;
stop)