summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2010-12-14 18:09:58 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-14 22:36:32 +0000
commit5fadc9b8be944ab7a61ef5eb33f92f69237d2d93 (patch)
tree2cf5204378f9a4c65b0d3a2c3612fd1478f103a8
parent80e6408b9f0a07e192696a2c2d371b258b4b187d (diff)
downloadopenembedded-core-5fadc9b8be944ab7a61ef5eb33f92f69237d2d93.tar.gz
openembedded-core-5fadc9b8be944ab7a61ef5eb33f92f69237d2d93.tar.bz2
openembedded-core-5fadc9b8be944ab7a61ef5eb33f92f69237d2d93.tar.xz
openembedded-core-5fadc9b8be944ab7a61ef5eb33f92f69237d2d93.zip
poky.conf: adjust variable whitelisting to fix sstate checksums
After some analysis of task dependencies I have adjusted the global whitelist used to filter out variables that would otherwise cause unwanted changes in task checksums for sstate packages. The following changes have been made to BB_HASHBASE_WHITELIST: * Fix typo: FILESEXTRAPATHS not FILESEXTRPATHS * Add variables FILE_DIRNAME HOME LOGNAME SHELL TERM USER * Remove variables DATE and TIME (these are referred to by a number of tasks where they should affect the checksum, e.g. because they influence PV) * Remove variable _ (not found in dependencies) Additionally DATE and SRCDATE are excluded but only explicitly for patch_do_patch, which uses these only to provide a warning if patches are out of date. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--meta/conf/distro/poky.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 10b31653d..95ca0970c 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -143,4 +143,5 @@ require conf/distro/include/world-broken.inc
# Setup our hash policy
BB_SIGNATURE_HANDLER = "basic"
BB_HASHTASK_WHITELIST = "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)"
-BB_HASHBASE_WHITELIST = "TMPDIR FILE PATH PWD BB_TASKHASH TIME DATE BBPATH DL_DIR SSTATE_DIR THISDIR _ FILESEXTRPATHS"
+BB_HASHBASE_WHITELIST = "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER"
+patch_do_patch[vardepsexclude] = "DATE SRCDATE"