[meta-mentor] [PATCH] useradd.bbclass: Add members to a group
Mikhail_Durnev at mentor.com
Mon Jun 24 16:29:44 PDT 2013
From: Nicolas Dechesne [mailto:nicolas.dechesne at linaro.org]
Sent: Tuesday, 25 June, 2013 08:40
To: Chris Larson
Cc: mikhail_durnev at mentor.com; meta-mentor
Subject: Re: [meta-mentor] [PATCH] useradd.bbclass: Add members to a group
On Mon, Jun 24, 2013 at 11:36 PM, Chris Larson <clarson at kergoth.com> wrote:
On Sun, Jun 23, 2013 at 11:29 PM, <mikhail_durnev at mentor.com> wrote:
From: Mikhail Durnev <mikhail_durnev at mentor.com>
useradd.bbclass supports adding new users and new groups. But it does not
support adding existing users to existing groups.
There is a need of adding users to some groups (e.g. audio). The class was
extended to call groupmems utility with arguments passed via
Utility groupmems was patched to support sysroot settings.
Signed-off-by: Mikhail Durnev <mikhail_durnev at mentor.com>
This commit should be broken up. First, it should add the unmodified
useradd.bbclass from upstream, and indicate the upstream commit it was
pulled from. Then it should patch shadow-native, then it should modify
useradd.bbclass to use it. Splitting up the pristine bbclass from the
modifications makes it much easier to update to newer versions of the class
and any chance it can be submitted for upstream acceptance (oe-core) ? it
sounds an interesting feature.
Thanks for your comments. I will break the commit.
More information about the meta-mentor