[OE-core] [oe-core][RFC] bitbake.conf: store cooker logs in TMPDIR subdirectory

Paul Eggleton paul.eggleton at linux.intel.com
Thu Aug 2 16:27:38 UTC 2012


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 at 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




More information about the Openembedded-core mailing list