diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2014-02-10 13:28:25 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 12:03:31 +0000 |
commit | ae83db0fdcf0b807ffdfc901f4d1c463fffee82a (patch) | |
tree | ec0dc728eb98f3542fa7c0f18c4fe0e620d8770e /meta/classes/distro_features_check.bbclass | |
parent | 54590cdb940b6145ac92729ebf9bb7e7e537f5e2 (diff) | |
download | openembedded-core-ae83db0fdcf0b807ffdfc901f4d1c463fffee82a.tar.gz openembedded-core-ae83db0fdcf0b807ffdfc901f4d1c463fffee82a.tar.bz2 openembedded-core-ae83db0fdcf0b807ffdfc901f4d1c463fffee82a.zip |
useradd-staticids: Fix groupadd when --user-group is selected
When --user-group is selected (it's on by default as well) we want
to translate that to a groupname and disable the --user-group. Before
we just disabled --user-group, but didn't always add the group to the
system.
This change ensures that we add the group (as long as we have enough
information to actually add the group), and we disable --user-group
in that case. If a static groupid is not specified we continue to
use the groupname, but via an explicit groupadd.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/distro_features_check.bbclass')
0 files changed, 0 insertions, 0 deletions