summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-05-19 10:35:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-06 15:52:18 +0100
commitada60e40293f78f974f641de5d3356b02bbeae4c (patch)
treeb4dc208f71fb41c1048143d9ecf55664276f5c19
parent4450b73e57bcd73b8d09d8cd898a97bad04ae27b (diff)
downloadopenembedded-core-ada60e40293f78f974f641de5d3356b02bbeae4c.tar.gz
openembedded-core-ada60e40293f78f974f641de5d3356b02bbeae4c.tar.bz2
openembedded-core-ada60e40293f78f974f641de5d3356b02bbeae4c.zip
bitbake.conf: set PSEUDO_PASSWD within FAKEROOTENV
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>
-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 de943161d7..38c5d2c258 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -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"