diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2014-02-10 13:28:26 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 12:04:38 +0000 |
commit | 287efe1494467e464f7867b91726e85b326c3178 (patch) | |
tree | b186e23652c781d28cea97b847b735d13614160f /meta-yocto/conf/distro | |
parent | 39d9414b952027f3d07fe0929c9ad29b9c2d40c1 (diff) | |
download | poky-287efe1494467e464f7867b91726e85b326c3178.tar.gz |
useradd-staticids: Adjust USERADD_ERROR_DYNAMIC condition and error message
The USERADD_ERROR_DYNAMIC needs to check that both users and groups that are
defined need to be represented as static ids, or an error should occur.
For the user check, we want to make sure the uid is a numeric value. (The gid
can be name, as the GROUPADD check will validate for a number there -- or
during install useradd will fail if that group is not defined.)
For the group check, we verify that the gid is specified and not left as a name.
Also two statements that can be uncommented for debugging were added so that
future development work on this code would be easier to do.
(From OE-Core rev: f35bbba65e3e41f8dea1f9ff872d3a9fbd84bf6d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/conf/distro')
0 files changed, 0 insertions, 0 deletions