diff options
author | Peter A. Bigot <pab@pabigot.com> | 2014-11-14 22:58:16 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-25 12:58:20 +0000 |
commit | 8c653bafaa32126c54400bb56b9a94f07cd33197 (patch) | |
tree | fa82a989d7660e2d48b499fbdef2f5f91ad90e93 /meta-selftest | |
parent | 15b3b796d6e06fb7a7867d132b234d783e733531 (diff) | |
download | openembedded-core-8c653bafaa32126c54400bb56b9a94f07cd33197.tar.gz openembedded-core-8c653bafaa32126c54400bb56b9a94f07cd33197.tar.bz2 openembedded-core-8c653bafaa32126c54400bb56b9a94f07cd33197.zip |
image.bbclass: search both rootfs and native staging for passwd files
When pseudo is configured to disallow fallback to the build host
/etc/hosts and /etc/group, the selection of ${IMAGE_ROOT} for
PSEUDO_PASSWD is insufficient as the necessary files will not be
available until base-passwd has been installed and its pkg_postinst
script run. Fall back to the ${STAGING_DIR_NATIVE} version of those
files until the rootfs versions are available. (The native copies are
never modified by the build; the ones in ${STAGING_DIR_TARGET} are
updated and may contain settings not consistent with what would be
created by post-install useradd/groupadd commands invoked in the image
rootfs.
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Diffstat (limited to 'meta-selftest')
0 files changed, 0 insertions, 0 deletions