All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] bitbake.conf: store cooker logs in TMPDIR subdirectory
@ 2012-08-02 16:24 Martin Jansa
  2012-08-02 16:27 ` Paul Eggleton
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2012-08-02 16:24 UTC (permalink / raw)
  To: openembedded-core

* we should probably wait until
  http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
  is in next required bitbake version, but error message if the directory doesn't exist is quite clear
* people with new enough bitbake could just change this in their local.conf

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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 d5a43e9..ff1cbd6 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -754,7 +754,7 @@ DISTRO[unexport] = "1"
 TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
 
 # Complete output from bitbake, if you're changing it, make sure to use existing directory
-BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
+BB_CONSOLELOG ?= "${TMPDIR}/cooker/${MACHINE}/${DATETIME}"
 
 # Setup our default hash policy
 BB_SIGNATURE_HANDLER ?= "OEBasicHash"
-- 
1.7.8.6




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

* Re: [RFC] bitbake.conf: store cooker logs in TMPDIR subdirectory
  2012-08-02 16:24 [RFC] bitbake.conf: store cooker logs in TMPDIR subdirectory Martin Jansa
@ 2012-08-02 16:27 ` Paul Eggleton
  2012-08-02 16:30   ` Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Eggleton @ 2012-08-02 16:27 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

On Thursday 02 August 2012 18:24:43 Martin Jansa wrote:
> * we should probably wait until
>  
> http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf
> 18570be629d9 is in next required bitbake version, but error message if the
> directory doesn't exist is quite clear * people with new enough bitbake
> could just change this in their local.conf
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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 d5a43e9..ff1cbd6 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -754,7 +754,7 @@ DISTRO[unexport] = "1"
>  TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_",
> "-")}"
> 
>  # Complete output from bitbake, if you're changing it, make sure to use
> existing directory -BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
> +BB_CONSOLELOG ?= "${TMPDIR}/cooker/${MACHINE}/${DATETIME}"

I was thinking about this the other day - shouldn't we be using LOG_DIR for 
this?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

* Re: [RFC] bitbake.conf: store cooker logs in TMPDIR subdirectory
  2012-08-02 16:27 ` Paul Eggleton
@ 2012-08-02 16:30   ` Martin Jansa
  2012-08-02 16:31     ` [RFCv2] " Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2012-08-02 16:30 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core

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

On Thu, Aug 02, 2012 at 05:27:38PM +0100, Paul Eggleton wrote:
> On Thursday 02 August 2012 18:24:43 Martin Jansa wrote:
> > * we should probably wait until
> >  
> > http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf
> > 18570be629d9 is in next required bitbake version, but error message if the
> > directory doesn't exist is quite clear * people with new enough bitbake
> > could just change this in their local.conf
> > 
> > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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 d5a43e9..ff1cbd6 100644
> > --- a/meta/conf/bitbake.conf
> > +++ b/meta/conf/bitbake.conf
> > @@ -754,7 +754,7 @@ DISTRO[unexport] = "1"
> >  TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_",
> > "-")}"
> > 
> >  # Complete output from bitbake, if you're changing it, make sure to use
> > existing directory -BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
> > +BB_CONSOLELOG ?= "${TMPDIR}/cooker/${MACHINE}/${DATETIME}"
> 
> I was thinking about this the other day - shouldn't we be using LOG_DIR for 
> this?

Yes, makes sense. And I've also forgot to remove that comment above
BB_CONSOLELOG"

> 
> Cheers,
> Paul
> 
> -- 
> 
> Paul Eggleton
> Intel Open Source Technology Centre

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

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

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

* [RFCv2] bitbake.conf: store cooker logs in TMPDIR subdirectory
  2012-08-02 16:30   ` Martin Jansa
@ 2012-08-02 16:31     ` Martin Jansa
  2012-08-02 16:35       ` Chris Larson
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2012-08-02 16:31 UTC (permalink / raw)
  To: openembedded-core

* we should probably wait until
  http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
  is in next required bitbake version, but error message if the directory doesn't exist is quite clear
* people with new enough bitbake could just change this in their local.conf

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/conf/bitbake.conf |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index d5a43e9..8074684 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -753,8 +753,8 @@ DISTRO[unexport] = "1"
 # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
 TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
 
-# Complete output from bitbake, if you're changing it, make sure to use existing directory
-BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
+# Complete output from bitbake
+BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"
 
 # Setup our default hash policy
 BB_SIGNATURE_HANDLER ?= "OEBasicHash"
-- 
1.7.8.6




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

* Re: [RFCv2] bitbake.conf: store cooker logs in TMPDIR subdirectory
  2012-08-02 16:31     ` [RFCv2] " Martin Jansa
@ 2012-08-02 16:35       ` Chris Larson
  2012-08-02 16:45         ` [RFCv3] bitbake.conf: store cooker logs in subdirectory of LOG_DIR Martin Jansa
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Larson @ 2012-08-02 16:35 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, Aug 2, 2012 at 9:31 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> * we should probably wait until
>   http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
>   is in next required bitbake version, but error message if the directory doesn't exist is quite clear
> * people with new enough bitbake could just change this in their local.conf
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  meta/conf/bitbake.conf |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index d5a43e9..8074684 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -753,8 +753,8 @@ DISTRO[unexport] = "1"
>  # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
>  TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
>
> -# Complete output from bitbake, if you're changing it, make sure to use existing directory
> -BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
> +# Complete output from bitbake
> +BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"

I'd recommend rewording the commit subject. It's not 100% clear that
it refers to 'the tmpdir subdir' or 'a subdir of tmpdir', until you
read the patch :)
-- 
Christopher Larson



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

* [RFCv3] bitbake.conf: store cooker logs in subdirectory of LOG_DIR
  2012-08-02 16:35       ` Chris Larson
@ 2012-08-02 16:45         ` Martin Jansa
  2012-08-16 17:49           ` Saul Wold
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Jansa @ 2012-08-02 16:45 UTC (permalink / raw)
  To: openembedded-core

* we should probably wait until
  http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
  is in next required bitbake version, but error message if the directory doesn't exist is quite clear
* people with new enough bitbake could just change this in their local.conf

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/conf/bitbake.conf |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index d5a43e9..8074684 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -753,8 +753,8 @@ DISTRO[unexport] = "1"
 # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
 TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
 
-# Complete output from bitbake, if you're changing it, make sure to use existing directory
-BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
+# Complete output from bitbake
+BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"
 
 # Setup our default hash policy
 BB_SIGNATURE_HANDLER ?= "OEBasicHash"
-- 
1.7.8.6




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

* Re: [RFCv3] bitbake.conf: store cooker logs in subdirectory of LOG_DIR
  2012-08-02 16:45         ` [RFCv3] bitbake.conf: store cooker logs in subdirectory of LOG_DIR Martin Jansa
@ 2012-08-16 17:49           ` Saul Wold
  0 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2012-08-16 17:49 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa

On 08/02/2012 09:45 AM, Martin Jansa wrote:
> * we should probably wait until
>    http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
>    is in next required bitbake version, but error message if the directory doesn't exist is quite clear
> * people with new enough bitbake could just change this in their local.conf
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>   meta/conf/bitbake.conf |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index d5a43e9..8074684 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -753,8 +753,8 @@ DISTRO[unexport] = "1"
>   # Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
>   TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_", "-")}"
>
> -# Complete output from bitbake, if you're changing it, make sure to use existing directory
> -BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
> +# Complete output from bitbake
> +BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"
>
>   # Setup our default hash policy
>   BB_SIGNATURE_HANDLER ?= "OEBasicHash"
>
Merged into OE-Core

Thanks
	Sau!




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

end of thread, other threads:[~2012-08-16 18:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-02 16:24 [RFC] bitbake.conf: store cooker logs in TMPDIR subdirectory Martin Jansa
2012-08-02 16:27 ` Paul Eggleton
2012-08-02 16:30   ` Martin Jansa
2012-08-02 16:31     ` [RFCv2] " Martin Jansa
2012-08-02 16:35       ` Chris Larson
2012-08-02 16:45         ` [RFCv3] bitbake.conf: store cooker logs in subdirectory of LOG_DIR Martin Jansa
2012-08-16 17:49           ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.