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

Martin Jansa martin.jansa at gmail.com
Thu Aug 2 16:30:01 UTC 2012


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

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 at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120802/5ae62c79/attachment-0002.sig>


More information about the Openembedded-core mailing list