Skip to contentSkip to conversation

bitbake.conf: Switch to the OEBasic signature generator

PATCH New Richard Purdie 1 participant 1 message Jan 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bitbake.conf: Switch to the OEBasic signature generator

This signature generator will allow easier customisation of which task dependencies get included in the signatures using the code in lib/oe/sstatesig.py. Compared the the regexp, this function is much easier to understand and customise.

---

meta/conf/bitbake.conf +1 -2
index 2eb4a05..2cc4b8f 100644
@@ -736,8 +736,7 @@ TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
 BB_CONSOLELOG = "${TMPDIR}/cooker.log.${DATETIME}"
 
 # Setup our default hash policy
-BB_SIGNATURE_HANDLER ?= "basic"
-BB_HASHTASK_WHITELIST ?= "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)"
+BB_SIGNATURE_HANDLER ?= "OEBasic"
 BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST PRSERV_PORT PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN"
 
 MLPREFIX ??= ""