aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehaffey, John <John_Mehaffey@mentor.com>2015-02-27 02:17:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:38:42 +0000
commit8fef1e991f9ea6f0ad6110aab77bc9ab0b4e7d23 (patch)
tree5979c96fa0e932746cf65b14810229ca752c22f9
parent9ce5b600cb1663f8c2a625c7f7c08ab3e61b58c8 (diff)
downloadopenembedded-core-contrib-8fef1e991f9ea6f0ad6110aab77bc9ab0b4e7d23.tar.gz
lttng: Add tracing group when building lttng-tools
This prevents the "Warning: No tracing group detected" message from lttng when there is no group 'tracing' while using lttng on the target. Signed-off-by: John Mehaffey <mehaf@gedanken.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb b/meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb
index 15125e3324..f0969b5241 100644
--- a/meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb
@@ -30,7 +30,10 @@ SRC_URI = "git://git.lttng.org/lttng-tools.git;branch=stable-2.6 \
S = "${WORKDIR}/git"
-inherit autotools-brokensep ptest pkgconfig
+inherit autotools-brokensep ptest pkgconfig useradd
+
+USERADD_PACKAGES = "${PN}"
+GROUPADD_PARAM_${PN} = "tracing"
export KERNELDIR="${STAGING_KERNEL_DIR}"