summaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-icon-cache.bbclass
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-03-22 21:43:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-31 21:11:45 +0100
commit68cd8deadc2f4b30ed618d6a3afaed6b2c4c514b (patch)
tree956bf27e521e702c3efcd68b418d28095a16df5c /meta/classes/gtk-icon-cache.bbclass
parentb2a0243f053dca10c3650498509f43c9eb7721a9 (diff)
downloadpoky-68cd8deadc2f4b30ed618d6a3afaed6b2c4c514b.tar.gz
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] (From OE-Core rev: 68c589f1b5ee36f0aff151b728447ffdae14622c) (From OE-Core rev: fb9f5feaa49b78d03d25d96254a5ce04079ce594) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-icon-cache.bbclass')
0 files changed, 0 insertions, 0 deletions