generic-poky/meta/recipes-core/base-passwd
Robert Yang 949bf156ca 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]

(From OE-Core rev: cdbe55215e3dd1b82a6c147a31c7c40186a8bf80)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-10 17:38:32 +01:00
..
base-passwd meta/recipes-core/base-passwd/base-passwd/noshadow.patch: Split it into two parts 2014-02-02 22:37:41 +00:00
base-passwd_3.5.29.bb base-passwd: install passwd and group atomically 2014-07-10 17:38:32 +01:00