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 22:57:55 +0000 |
commit | 2ebf697b46c42cee8bfa6d2e6087397f8cce385c (patch) | |
tree | 07f7b4ba69ae1e948a23eb36dae9c77bbd92ca2b /scripts | |
parent | 66b461ce9df7ed06d7651b9b54a49a950b97a1d4 (diff) | |
download | openembedded-core-2ebf697b46c42cee8bfa6d2e6087397f8cce385c.tar.gz openembedded-core-2ebf697b46c42cee8bfa6d2e6087397f8cce385c.tar.bz2 openembedded-core-2ebf697b46c42cee8bfa6d2e6087397f8cce385c.zip |
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]
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions