On 11/15/2014 10:22 AM, Richard Purdie wrote:
On Fri, 2014-11-14 at 23:37 -0600, Peter A. Bigot wrote:
The useradd, groupadd, and groupmems commands in useradd.bbclass are
executed in a loop with up to 10 failed attempts before they give up.
This appears to have always been the case, as long as that file has been
present.
Is there any reason why an initial failed attempt to execute one of
these commands would be expected to succeed on retry, other than because
delaying failure gives a chance for concurrently executing task to
complete and so satisfy a dependency?
Another recipe can be altering the files and holding the lock so in
theory, yes, the retries can help.
Makes sense. I do see that extrausers.bbclass has a comment explaining
why it only passes retries=1.
Peter
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core