diff options
author | Scott Garman <scott.a.garman@intel.com> | 2012-03-22 21:43:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 12:03:31 +0000 |
commit | 68c589f1b5ee36f0aff151b728447ffdae14622c (patch) | |
tree | 40efb5b558e40ed7224654784aca7d5b30b26e23 /meta/recipes-graphics/xcursor-transparent-theme | |
parent | 3d2d3cb379608301b17ce57787d324c2f06bf4f9 (diff) | |
download | openembedded-core-68c589f1b5ee36f0aff151b728447ffdae14622c.tar.gz openembedded-core-68c589f1b5ee36f0aff151b728447ffdae14622c.tar.bz2 openembedded-core-68c589f1b5ee36f0aff151b728447ffdae14622c.tar.xz openembedded-core-68c589f1b5ee36f0aff151b728447ffdae14622c.zip |
useradd.bbclass: retry useradd/groupadd commands to avoid lock race issues
A race condition can occur when adding users and groups to the
passwd and group files, causing errors like the following:
ERROR: Function 'useradd_sysroot' failed
Tried to access "/etc/group" but this was locked.
This fix will cause the useradd code to retry the useradd and
groupadd commands up to 10 times (with a 1s sleep in between
attempts) before failing.
This fixes [YOCTO #1794]
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xcursor-transparent-theme')
0 files changed, 0 insertions, 0 deletions