]> 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, 30 Jan 2012 16:27:08 +0000 (16:27 +0000)
commite3e8f15176107fa26248e878af548835692d3068
treefd81543f209341c388a445c944a7cb21c9f6089a
parent1cffc4c39f897ae1db30825364ff809ce40f512b
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.

(From OE-Core rev: 82933a1ff921fd0836f03e6f379fd8536cdc0a30)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/useradd.bbclass