[meta-mentor] [PATCH] useradd.bbclass: Add members to a group

Nicolas Dechesne nicolas.dechesne at linaro.org
Mon Jun 24 14:39:45 PDT 2013

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
> later on.

and any chance it can be submitted for upstream acceptance (oe-core) ? it
sounds an interesting feature.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-mentor/attachments/20130624/c70b4a06/attachment.html>

More information about the meta-mentor mailing list