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

Chris Larson clarson at kergoth.com
Mon Jun 24 14:36:10 PDT 2013


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
> GROUPMEMS_PARAM.
> 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.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-mentor/attachments/20130624/f7ee4a65/attachment.html>


More information about the meta-mentor mailing list