diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-07-06 21:40:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-10 17:37:38 +0100 |
commit | cdbe55215e3dd1b82a6c147a31c7c40186a8bf80 (patch) | |
tree | 16ccaba69b65f6e975d607ea8300c95a0a8ff46c /meta/recipes-core/initrdscripts | |
parent | 7384d2831c713ac5999aca83c312154dc15cec56 (diff) | |
download | openembedded-core-cdbe55215e3dd1b82a6c147a31c7c40186a8bf80.tar.gz openembedded-core-cdbe55215e3dd1b82a6c147a31c7c40186a8bf80.tar.bz2 openembedded-core-cdbe55215e3dd1b82a6c147a31c7c40186a8bf80.zip |
base-passwd: install passwd and group atomically
Fixed the race issue:
util-macros.do_package failed: 'getpwnam(): name not found: root'
The error happens when there is a half etc/passwd, fixed by:
$ install usr/share/base-passwd/passwd.master etc/passwd.master
$ mv etc/passwd.master etc/passwd
The "mv" is atomic which will fix this problem.
[YOCTO #6124]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/initrdscripts')
0 files changed, 0 insertions, 0 deletions