Skip to contentSkip to conversation

bitbake.conf: set an exclusion list for varflags in checksums

PATCH Applied Paul Eggleton 2 participants 3 messages May 30, 2012 – Jun 1, 2012

lore
Share & tools
lore
#0 lore raw

cover bitbake.conf: set an exclusion list for varflags in checksums

This is the OE-Core change corresponding to the varflags change just sent to the bitbake-devel list.

The following changes since commit f5356062443320c29a19cfd7113128caa185b221:

Revert "meta: replace os.popen with subprocess.Popen" (2012-05-30 14:20:04 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/varflags
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/varflags

Paul Eggleton (1):
bitbake.conf: set an exclusion list for varflags in checksums

 meta/conf/bitbake.conf |    4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 bitbake.conf: set an exclusion list for varflags in checksums

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].

---
 meta/conf/bitbake.conf |    4 ++++
 1 file changed, 4 insertions(+)
meta/conf/bitbake.conf +4 -0
index 48287a7..cdc2dba 100644
@@ -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 ??= ""
Signature · 1 line
1.7.9.5
Applied
#2 lore raw
In reply to Paul Eggleton
Quoted 10 lines · Paul Eggleton

This is the OE-Core change corresponding to the varflags change just sent to the bitbake-devel list.

The following changes since commit f5356062443320c29a19cfd7113128caa185b221:

   Revert "meta: replace os.popen with subprocess.Popen" (2012-05-30 14:20:04 +0100)

are available in the git repository at:

Quoted 9 lines

git://git.openembedded.org/openembedded-core-contrib paule/varflags
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/varflags

Paul Eggleton (1):
bitbake.conf: set an exclusion list for varflags in checksums

  meta/conf/bitbake.conf |    4 ++++
  1 file changed, 4 insertions(+)

Merged into OE-Core

Thanks
Sau!