[meta-mentor] [PATCH] useradd.bbclass: Add members to a group
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
> 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
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the meta-mentor