summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
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:42:02 +0000
commit40e15f07f657464cf5ac7a0ea0af5cd2a8d57062 (patch)
treecaf3103104dfe4fabf814ea56f7d9d0f47ec67db /meta/recipes-kernel/lttng
parent3cbc509a5f13620ab3fd06a9c71847a23b01a900 (diff)
downloadast2050-yocto-poky-40e15f07f657464cf5ac7a0ea0af5cd2a8d57062.zip
ast2050-yocto-poky-40e15f07f657464cf5ac7a0ea0af5cd2a8d57062.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. (From OE-Core rev: 8fef1e991f9ea6f0ad6110aab77bc9ab0b4e7d23) Signed-off-by: John Mehaffey <mehaf@gedanken.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng')
-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 15125e3..f0969b5 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}"
OpenPOWER on IntegriCloud