[oe-commits] Peter A. Bigot : bitbake.conf: pseudo fall back to last-resort passwd files

git at git.openembedded.org git at git.openembedded.org
Tue Nov 25 13:03:54 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 071d364b7a758ba5e546bb18c5816ac4c2e6747c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=071d364b7a758ba5e546bb18c5816ac4c2e6747c

Author: Peter A. Bigot <pab at pabigot.com>
Date:   Sat Nov  1 07:25:39 2014 -0500

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 at pabigot.com>

---

 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 2a8a37f..0ccaac0 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}"



More information about the Openembedded-commits mailing list