From: Burton, Ross [[email protected]]
Sent: Monday, March 09, 2015 1:57 PM
To: Mehaffey, John
Cc: [email protected]; [email protected]
Subject: Re: [OE-core] [PATCH] lttng: Add tracing group when building 
lttng-tools

> On 27 February 2015 at 02:17, Mehaffey, John <[email protected]> wrote:
> > +inherit autotools-brokensep ptest pkgconfig adduser
>
> Did you mean useradd?  Or is adduser something Mentor-specific?
>
> Ross

No, it was just a typo in transcribing from a .bbappend :(

Here is the corrected version:

>From e65f1e31d1f5691c676da3fb33d7c3feab4ef74c Mon Sep 17 00:00:00 2001
From: John Mehaffey <[email protected]>
Date: Thu, 26 Feb 2015 10:51:28 -0800
Subject: [OE-core] [PATCH] lttng: Add tracing group when building lttng-tools

The lttng subsystem issues a warning if there is no
group 'tracing' when it it started.

Signed-off-by: John Mehaffey <[email protected]>
---
 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}"
 
-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to