[oe-commits] Mehaffey, John : lttng: Add tracing group when building lttng-tools

git at git.openembedded.org git at git.openembedded.org
Mon Mar 16 17:42:39 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 8fef1e991f9ea6f0ad6110aab77bc9ab0b4e7d23
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8fef1e991f9ea6f0ad6110aab77bc9ab0b4e7d23

Author: Mehaffey, John <John_Mehaffey at mentor.com>
Date:   Fri Feb 27 02:17:20 2015 +0000

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 at gedanken.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-kernel/lttng/lttng-tools_2.6.0.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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}"
 



More information about the Openembedded-commits mailing list