]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: pseudo fall back to last-resort passwd files
authorPeter A. Bigot <pab@pabigot.com>
Sat, 1 Nov 2014 12:25:39 +0000 (07:25 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Nov 2014 12:58:21 +0000 (12:58 +0000)
Recipe packaging for the target requires permissions that are consistent
with meta/files/fs-perms.txt which specifies certain user and group
names.  In the early parts of a target build base-passwd is not yet
available to provide the target /etc files used for user/group lookup.
Allow pseudo to fall-back to the last-resort files it installs if the
target ones aren't there yet.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
meta/conf/bitbake.conf

index 2a8a37f87b8e2873381c2a4cb148300ecbe2c715..0ccaac0455ecb19e51e40b68ea2c99492c351366 100644 (file)
@@ -586,7 +586,7 @@ SRC_URI = ""
 
 # Use pseudo as the fakeroot implementation
 PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/"
-PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}"
+PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}:${STAGING_DIR_NATIVE}"
 export PSEUDO_DISABLED = "1"
 #export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}"
 #export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}"