Skip to contentSkip to conversation

bitbake.conf: exclude some variables when calculating cache hash

GIT PULL In review Dongxiao Xu 2 participants 5 messages Mar 16, 2012 – Mar 21, 2012

lore
Share & tools
lore
#0 lore raw

Hi Richard,

This pull request is to fix cache rebuild issue when machine is reboot.

Please help to review and pull.

Thanks,
Dongxiao

The following changes since commit d4f1ef6b8297826230a68e535098709d07de1f48:

qt4: package static libraries correctly to fix warnings (2012-03-15 13:33:37 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib dxu4/hob-bugfix-oecore
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/hob-bugfix-oecore

Dongxiao Xu (1):
bitbake.conf: Exclude some variables when calculating cache hash

 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/1 bitbake.conf: Exclude some variables when calculating cache hash

Some variables are not needed when calculating cache's hash, this commit removes them.

---
 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/bitbake.conf +1 -1
index 216da75..908adcd 100644
@@ -738,7 +738,7 @@ BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
 # Setup our default hash policy
 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"
-BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME"
+BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SESSION_MANAGER DBUS_SESSION_BUS_ADDRESS SSH_AGENT_PID XDG_SESSION_COOKIE SSH_AUTH_SOCK"
 
 MLPREFIX ??= ""
 MULTILIB_VARIANTS ??= ""
Signature · 1 line
1.7.4.1
#2 lore raw

Re: [PATCH 1/1] bitbake.conf: Exclude some variables when calculating cache hash

Quoted 13 lines · Dongxiao Xu

Some variables are not needed when calculating cache's hash, this commit removes them.

---
 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/bitbake.conf +0 -0
index 216da75..908adcd 100644

meta/conf/bitbake.conf BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}" · line 741

Quoted 5 lines
meta/conf/bitbake.conf +1 -1
@@ -738,7 +738,7 @@ BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
 # Setup our default hash policy
 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"
-BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME"
+BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SESSION_MANAGER DBUS_SESSION_BUS_ADDRESS SSH_AGENT_PID XDG_SESSION_COOKIE SSH_AUTH_SOCK"

what about that XAUTHORITY I had?

Quoted 11 lines
meta/conf/bitbake.conf +0 -0
 MLPREFIX ??= ""
 MULTILIB_VARIANTS ??= ""
Signature · 7 lines
1.7.4.1


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Re: [PATCH 1/1] bitbake.conf: Exclude some variables when calculating cache hash

Quoted 9 lines · Martin Jansa
Quoted 8 lines · Dongxiao Xu

Some variables are not needed when calculating cache's hash, this commit removes them.

---
 meta/conf/bitbake.conf |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 12 lines

meta/conf/bitbake.conf BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}" · line 741

Quoted 10 lines
meta/conf/bitbake.conf +0 -0
index 216da75..908adcd 100644
@@ -738,7 +738,7 @@ BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
  # Setup our default hash policy

 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"

meta/conf/bitbake.conf +1 -1
-BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME"
+BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SESSION_MANAGER DBUS_SESSION_BUS_ADDRESS SSH_AGENT_PID XDG_SESSION_COOKIE SSH_AUTH_SOCK"

what about that XAUTHORITY I had?

Today it went in without XAUTHORITY and I cannot test it because of issues with new motherboard..

Cheers,

#4 lore raw

Re: [PATCH 1/1] bitbake.conf: Exclude some variables when calculating cache hash

In reply to Martin Jansa
Quoted 9 lines · Martin Jansa
Quoted 8 lines · Dongxiao Xu

Some variables are not needed when calculating cache's hash, this commit removes them.

---
 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 12 lines

meta/conf/bitbake.conf BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}" · line 741

Quoted 10 lines
meta/conf/bitbake.conf +1 -1
index 216da75..908adcd 100644
@@ -738,7 +738,7 @@ BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
 # Setup our default hash policy
 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"
-BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME"
+BB_HASHCONFIG_WHITELIST ?= "${BB_HASHBASE_WHITELIST} DATE TIME SESSION_MANAGER DBUS_SESSION_BUS_ADDRESS SSH_AGENT_PID XDG_SESSION_COOKIE SSH_AUTH_SOCK"

what about that XAUTHORITY I had?

I will make a patch to add XAUTHORITY into the exclusion list.

Thanks,
Dongxiao

Quoted 17 lines
Quoted 12 lines
meta/conf/bitbake.conf +0 -0
 MLPREFIX ??= ""
 MULTILIB_VARIANTS ??= ""
Signature · 7 lines
1.7.4.1


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core