summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2014-11-01 07:25:39 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-25 12:58:21 +0000
commit071d364b7a758ba5e546bb18c5816ac4c2e6747c (patch)
treee3c357968be11e2b6f8117178d61d1463fd3559a
parent91443426246fbe13083c19801b7c74365e041271 (diff)
downloadopenembedded-core-contrib-071d364b7a758ba5e546bb18c5816ac4c2e6747c.tar.gz
openembedded-core-contrib-071d364b7a758ba5e546bb18c5816ac4c2e6747c.tar.bz2
openembedded-core-contrib-071d364b7a758ba5e546bb18c5816ac4c2e6747c.zip
bitbake.conf: pseudo fall back to last-resort passwd files
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>
-rw-r--r--meta/conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2a8a37f87b..0ccaac0455 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -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}"