]> code.ossystems Code Review - openembedded-core.git/commit
useradd.bbclass: check if a group already exists manually
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 20 Oct 2011 21:18:11 +0000 (21:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Oct 2011 13:28:17 +0000 (14:28 +0100)
commit82933a1ff921fd0836f03e6f379fd8536cdc0a30
treecbf926cc0a99be7d960a911b62d78a9091283fb8
parent23c5a83e877efe6d86618898dd181bb75f44aa71
useradd.bbclass: check if a group already exists manually

The use of groupadd -f makes much more difficult to figure when a
group is not add. This was the case of the class not working for our
usage and this being caused by the lack of '/etc/group' file but
unnoticed as groupadd wasn't failing according.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta/classes/useradd.bbclass