summaryrefslogtreecommitdiff
path: root/meta/classes/toaster.bbclass
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2015-12-19 00:53:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-17 11:32:20 +0000
commite98e98ce65cf9ffdef29462310a622ffddd1412b (patch)
treecab81d054bec23cce1c25a19c52227df48f9fcd3 /meta/classes/toaster.bbclass
parent274d38a6e2183ec88335a08b963f26c34b328558 (diff)
downloadopenembedded-core-e98e98ce65cf9ffdef29462310a622ffddd1412b.tar.gz
openembedded-core-e98e98ce65cf9ffdef29462310a622ffddd1412b.tar.bz2
openembedded-core-e98e98ce65cf9ffdef29462310a622ffddd1412b.zip
useradd-staticids.bbclass: Simplify the logic for when to add groups
The original code was near impossible to follow, and missed a couple of cases. For example, if one added the following line to the passwd file specified in USERADD_UID_TABLES: foobar:x:12345:nogroup::/:/bin/sh and then specified the user as: USERADD_PARAM_${PN} = "--system foobar" one would then assume that the foobar user would be created with the primary group set to nogroup. However, it was not (the primary group would be foobar), and the only way to get it correct was to explicitly add --gid nogroup to the USERADD_PARAM_${PN}. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/toaster.bbclass')
0 files changed, 0 insertions, 0 deletions