[oe-commits] Richard Purdie : bitbake.conf: Unload pseudo when its not required for a given task

git at git.openembedded.org git at git.openembedded.org
Thu Nov 10 12:09:39 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 4c4498c38232a832bdbfadf54d2e1bf4bc34b171
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4c4498c38232a832bdbfadf54d2e1bf4bc34b171

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Nov  9 15:02:33 2011 +0000

bitbake.conf: Unload pseudo when its not required for a given task

This yields a small performance boost due to the lack of the
preload overhead on each task execution.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/bitbake.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 7e75be2..0d6b3b8 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -586,6 +586,7 @@ export PSEUDO_DISABLED = "1"
 #export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}"
 #export PSEUDO_LIBDIR = "${STAGING_DIR_NATIVE}$PSEUDOBINDIR/../lib/pseudo/lib
 FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${STAGING_DIR_TARGET} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0"
+FAKEROOTNOENV = "PSEUDO_UNLOAD=1"
 FAKEROOTDIRS = "${PSEUDO_LOCALSTATEDIR}"
 PREFERRED_PROVIDER_virtual/fakeroot-native ?= "pseudo-native"
 





More information about the Openembedded-commits mailing list