]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: set PSEUDO_PASSWD within FAKEROOTENV
authorScott Garman <scott.a.garman@intel.com>
Thu, 19 May 2011 17:35:40 +0000 (10:35 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jun 2011 14:52:18 +0000 (15:52 +0100)
PSEUDO_PASSWD needs to point to the directory where passwd and group
files are kept. This will allow pseudo to use those users and groups
to change file ownership.

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
meta/conf/bitbake.conf

index de943161d7b9f120f66cbfc6538c4fd089d831c9..38c5d2c2580f9e259bf528e7562e61e8dba22ad2 100644 (file)
@@ -547,7 +547,7 @@ SRC_URI = "file://${FILE}"
 
 # Use pseudo as the fakeroot implementation
 PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/"
-FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0"
+FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${STAGING_DIR_TARGET}/etc PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0"
 FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}"
 PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"