From 26ade54fa479f8cac723197b5dcf53f0e749174e Mon Sep 17 00:00:00 2001
From: Kevin Tian <kevin.tian@intel.com>
Date: Fri, 5 Nov 2010 15:16:50 +0800
Subject: poky.conf: add PWD to BB_HASHBASE_WHITELIST

Without doing this I can't reuse prebuilts generated from one directory in another
build directory which is really not comfortable for developers. Due to difference
on PWD variable, base hash becomes different for every sstate package.

So here PWD is added to the hase base whitelist, which makes most prebuilts reusable
now in a different build directory. However there still remains one issue about
do_populate_sysroot sstate package. Absolute path is encoded in this task which
then blocks reuse on them. Perhaps we need some redesign for do_populate_sysroot into
two stages, with all absolute path related operations moved to the 2nd stage. This
way then the 1st stage can be reused.

Partially fix [BUGID #522]

Signed-off-by Kevin Tian <kevin.tian@intel.com>
---
 meta/conf/distro/poky.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'meta/conf/distro')

diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index b0b570cdd2..d2b2b9e258 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -142,4 +142,4 @@ require conf/distro/include/distro_tracking_fields.inc
 # Setup our hash policy
 BB_SIGNATURE_HANDLER = "basic"
 BB_HASHTASK_WHITELIST = "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$)"
-BB_HASHBASE_WHITELIST = "TMPDIR FILE PATH"
+BB_HASHBASE_WHITELIST = "TMPDIR FILE PATH PWD"
-- 
cgit v1.2.3