From: Peter A. Bigot Date: Sat, 1 Nov 2014 12:25:39 +0000 (-0500) Subject: bitbake.conf: pseudo fall back to last-resort passwd files X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31973 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=071d364b7a758ba5e546bb18c5816ac4c2e6747c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 2a8a37f87b8..0ccaac0455e 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}"