Patchwork [1/1] bitbake.conf: set an exclusion list for varflags in checksums

login
register
mail settings
Submitter Paul Eggleton
Date May 30, 2012, 4:25 p.m.
Message ID <8fdf88cfb533fdca1ff36ff37c9ecee98193430b.1338395048.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/28963/
State Accepted
Commit 2bed83c6237669b6fc6fa25b2a554efb73395ca6
Headers show

Comments

Paul Eggleton - May 30, 2012, 4:25 p.m.
Set BB_SIGNATURE_EXCLUDE_FLAGS, which is used by the new varflag
checksum code in BitBake. The list is intended to cut out most of the
varflags that are generated internally, don't influence the output or
are already included in the checksum in some way. If need be this list
can be extended in the future. The existing vardepsexclude mechanism
can also be used to exclude undesired varflags, but they must be fully
specified, e.g.:

do_patch[vardepsexclude] += "do_patch[someflag]"

Implements [YOCTO #2517].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/conf/bitbake.conf |    4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 48287a7..cdc2dba 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -747,6 +747,10 @@  BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
 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 PARALLEL_MAKE CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE"
 BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SESSION_MANAGER DBUS_SESSION_BUS_ADDRESS SSH_AGENT_PID XDG_SESSION_COOKIE SSH_AUTH_SOCK XAUTHORITY"
+BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc defaultval _append _prepend deps depends lockfiles type vardepsexclude \
+                               vardeps vardepvalue file-checksums python func task export unexport noexec \
+                               nostamp dirs cleandirs sstate-lockfile-shared prefuncs postfuncs export_func \
+                               deptask rdeptask recrdeptask nodeprrecs stamp-base stamp-extra-info"
 
 MLPREFIX ??= ""
 MULTILIB_VARIANTS ??= ""