diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-07-23 18:18:51 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-24 00:39:58 +0100 |
commit | a4fb2c9666129c0df55f871ddc7bb989909cd31f (patch) | |
tree | 830558cefc5ace67d0dc4e7db41f35fa23905455 /meta/conf | |
parent | 7de5081857dc145df93ce50ed827fd2ee18dfd41 (diff) | |
download | poky-a4fb2c9666129c0df55f871ddc7bb989909cd31f.tar.gz |
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>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 67dd840959..057a213c96 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -528,7 +528,9 @@ SRC_URI = "file://${FILE}" | |||
528 | 528 | ||
529 | # We can choose which provider of fake root privileges to use | 529 | # We can choose which provider of fake root privileges to use |
530 | # default is fakeroot but in Poky we use pseudo | 530 | # default is fakeroot but in Poky we use pseudo |
531 | FAKEROOT = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} pseudo" | 531 | # this is hopefully only temporary, to work around the database becoming corrupt |
532 | PSEUDO_DATADIR ?= "${WORKDIR}/pseudo/" | ||
533 | FAKEROOT = "PSEUDO_DATADIR=${PSEUDO_DATADIR} PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} pseudo" | ||
532 | PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native" | 534 | PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native" |
533 | 535 | ||
534 | 536 | ||