diff options
author | Kai Kang <kai.kang@windriver.com> | 2016-02-29 17:19:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-20 23:12:27 +0000 |
commit | 57a525ca7271a8fe3913c61aa87cb0ba1674b4b2 (patch) | |
tree | 3ce9a1cdea084f0f063310c3f2441d52c62e8bb3 /bitbake | |
parent | 5d06f00471f9db89ea63bae1bc900fcdea5c6bf3 (diff) | |
download | poky-57a525ca7271a8fe3913c61aa87cb0ba1674b4b2.tar.gz |
useradd_base.bbclass: replace retry logic with flock
When perform useradd during populate sysroot, it locks files passwd.lock
and group.lock at same time. And then it meets a dead lock issue
randomly.
Use flock to reslove it by using an universal lock directory for all the
user and group related operations.
[YOCTO #9022]
(From OE-Core rev: 2ebf697b46c42cee8bfa6d2e6087397f8cce385c)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
0 files changed, 0 insertions, 0 deletions