summaryrefslogtreecommitdiffstats
path: root/meta/classes/syslinux.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-03-23 12:13:08 +0000
commitc9537c52f4a7faef9aa2d23b33bc452aa872068d (patch)
tree4b05a4611821466b0cfd5c01a4e8eb7bf3ac2f09 /meta/classes/syslinux.bbclass
parentc65d82a88ad8dbd27287e94fb62b98017941fb91 (diff)
downloadpoky-c9537c52f4a7faef9aa2d23b33bc452aa872068d.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) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/syslinux.bbclass')
0 files changed, 0 insertions, 0 deletions