1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-16 18:09:56 +00:00
Files
poky/meta
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
..
2014-05-08 13:00:33 +01:00
2014-05-11 12:27:22 +01:00
2014-06-17 17:56:21 +01:00
2014-06-17 10:23:53 +01:00
2014-01-02 12:58:54 +00:00