mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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. (From OE-Core rev: ada60e40293f78f974f641de5d3356b02bbeae4c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
133691ce92
commit
e3f56c05e5
@@ -547,7 +547,7 @@ SRC_URI = "file://${FILE}"
|
|||||||
|
|
||||||
# Use pseudo as the fakeroot implementation
|
# Use pseudo as the fakeroot implementation
|
||||||
PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/"
|
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}"
|
FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}"
|
||||||
PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
|
PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user