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-12-31 10:18:50 +0000
commit358794f2fb9351a66eabed67a58a1e9f7711da40 (patch)
treea09107b5436a3b8ac209a150098c6e5b69e2c53b
parent3c76f85d5fab7d2851676fcab7e63789b5fb6e0c (diff)
downloadpoky-358794f2fb9351a66eabed67a58a1e9f7711da40.tar.gz
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. (From OE-Core rev: 071d364b7a758ba5e546bb18c5816ac4c2e6747c) (From OE-Core rev: fdf7e1829810df75d180c06db615f9771f46d592) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 468b175edc..74813a23bc 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -586,7 +586,7 @@ SRC_URI = ""
586 586
587# Use pseudo as the fakeroot implementation 587# Use pseudo as the fakeroot implementation
588PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/" 588PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/"
589PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}" 589PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}:${STAGING_DIR_NATIVE}"
590export PSEUDO_DISABLED = "1" 590export PSEUDO_DISABLED = "1"
591#export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}" 591#export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}"
592#export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}" 592#export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}"