Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1][PULL] bitbake.conf: exclude some variables when calculating cache hash
@ 2012-03-16  8:48 Dongxiao Xu
  2012-03-16  8:48 ` [PATCH 1/1] bitbake.conf: Exclude " Dongxiao Xu
  0 siblings, 1 reply; 5+ messages in thread
From: Dongxiao Xu @ 2012-03-16  8:48 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.7.4.1




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] bitbake.conf: Exclude some variables when calculating cache hash
  2012-03-16  8:48 [PATCH 0/1][PULL] bitbake.conf: exclude some variables when calculating cache hash Dongxiao Xu
@ 2012-03-16  8:48 ` Dongxiao Xu
  2012-03-16  8:53   ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Dongxiao Xu @ 2012-03-16  8:48 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
---
 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 216da75..908adcd 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -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 ??= ""
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] bitbake.conf: Exclude some variables when calculating cache hash
  2012-03-16  8:48 ` [PATCH 1/1] bitbake.conf: Exclude " Dongxiao Xu
@ 2012-03-16  8:53   ` Martin Jansa
  2012-03-20 11:48     ` Martin Jansa
  2012-03-21  7:24     ` Xu, Dongxiao
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Jansa @ 2012-03-16  8:53 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]

On Fri, Mar 16, 2012 at 04:48:34PM +0800, Dongxiao Xu wrote:
> Some variables are not needed when calculating cache's hash, this
> commit removes them.
> 
> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
> ---
>  meta/conf/bitbake.conf |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 216da75..908adcd 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -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?

>  
>  MLPREFIX ??= ""
>  MULTILIB_VARIANTS ??= ""
> -- 
> 1.7.4.1
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] bitbake.conf: Exclude some variables when calculating cache hash
  2012-03-16  8:53   ` Martin Jansa
@ 2012-03-20 11:48     ` Martin Jansa
  2012-03-21  7:24     ` Xu, Dongxiao
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2012-03-20 11:48 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, Mar 16, 2012 at 9:53 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Fri, Mar 16, 2012 at 04:48:34PM +0800, Dongxiao Xu wrote:
>> Some variables are not needed when calculating cache's hash, this
>> commit removes them.
>>
>> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
>> ---
>>  meta/conf/bitbake.conf |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
>> index 216da75..908adcd 100644
>> --- a/meta/conf/bitbake.conf
>> +++ b/meta/conf/bitbake.conf
>> @@ -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?

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

Cheers,



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] bitbake.conf: Exclude some variables when calculating cache hash
  2012-03-16  8:53   ` Martin Jansa
  2012-03-20 11:48     ` Martin Jansa
@ 2012-03-21  7:24     ` Xu, Dongxiao
  1 sibling, 0 replies; 5+ messages in thread
From: Xu, Dongxiao @ 2012-03-21  7:24 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2012-03-16 at 09:53 +0100, Martin Jansa wrote:
> On Fri, Mar 16, 2012 at 04:48:34PM +0800, Dongxiao Xu wrote:
> > Some variables are not needed when calculating cache's hash, this
> > commit removes them.
> > 
> > Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
> > ---
> >  meta/conf/bitbake.conf |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> > index 216da75..908adcd 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -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

> 
> >  
> >  MLPREFIX ??= ""
> >  MULTILIB_VARIANTS ??= ""
> > -- 
> > 1.7.4.1
> > 
> > 
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-21  7:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16  8:48 [PATCH 0/1][PULL] bitbake.conf: exclude some variables when calculating cache hash Dongxiao Xu
2012-03-16  8:48 ` [PATCH 1/1] bitbake.conf: Exclude " Dongxiao Xu
2012-03-16  8:53   ` Martin Jansa
2012-03-20 11:48     ` Martin Jansa
2012-03-21  7:24     ` Xu, Dongxiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox