diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2015-12-19 00:53:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-17 11:32:20 +0000 |
commit | 3149319ad997379a01d87f2b1b5d14f66541997f (patch) | |
tree | a7298dd6977f02f796e12fe46f2635882135f6c5 /meta/classes/pythonnative.bbclass | |
parent | e98e98ce65cf9ffdef29462310a622ffddd1412b (diff) | |
download | openembedded-core-3149319ad997379a01d87f2b1b5d14f66541997f.tar.gz openembedded-core-3149319ad997379a01d87f2b1b5d14f66541997f.tar.bz2 openembedded-core-3149319ad997379a01d87f2b1b5d14f66541997f.zip |
useradd-staticids.bbclass: Read passwd/group files before parsing
Read and merge the passwd/group files before parsing the user and
group definitions. This means they will only be read once per
recipe. This solves a problem where if a user was definied in multiple
files, it could generate group definitions for groups that should not
be created. E.g., if the first passwd file read defines a user as:
foobar::1234::::
and the second passwd file defines it as:
foobar:::nogroup:The foobar user:/:/bin/sh
then a foobar group would be created even if the user will use the
nogroup as its primary group.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/pythonnative.bbclass')
0 files changed, 0 insertions, 0 deletions