From: Mehaffey, John Date: Fri, 27 Feb 2015 02:17:20 +0000 (+0000) Subject: lttng: Add tracing group when building lttng-tools X-Git-Tag: 2015-4~182 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8fef1e991f9ea6f0ad6110aab77bc9ab0b4e7d23;p=openembedded-core.git 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 Signed-off-by: Ross Burton --- 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}"