mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
pseudo: Enhancements
Enable changing the data directory on the fly from the environment and then use this feature within poky to confine pseudo usage to each WORKDIR. This fixes issues that could be seen under heavy inode reusage e.g. with rm_work. Work based mainly off a patch from Joshua Lock but finished by Richard Purdie. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
7de5081857
commit
a4fb2c9666
@@ -528,7 +528,9 @@ SRC_URI = "file://${FILE}"
|
||||
|
||||
# We can choose which provider of fake root privileges to use
|
||||
# default is fakeroot but in Poky we use pseudo
|
||||
FAKEROOT = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} pseudo"
|
||||
# this is hopefully only temporary, to work around the database becoming corrupt
|
||||
PSEUDO_DATADIR ?= "${WORKDIR}/pseudo/"
|
||||
FAKEROOT = "PSEUDO_DATADIR=${PSEUDO_DATADIR} PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} pseudo"
|
||||
PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user