From: Richard Purdie Date: Thu, 24 Nov 2011 14:50:37 +0000 (+0000) Subject: bitbake.conf: Set BB_CONSOLELOG so we log console messages by default X-Git-Tag: 2015-4~12716 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4b916ce59bf88ca92b034b2acaddee6130155e46;p=openembedded-core.git bitbake.conf: Set BB_CONSOLELOG so we log console messages by default The console log is often helpful for debugging issues. Difficult to reproduce bugs would benefit from a log being generated by default as it may be difficult to come by after the fact. Log to ${TMPDIR}/cooker.log.${DATETIME} by default. [YOCTO #1771] Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 01f064cbc6..458990924b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -732,6 +732,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("_", "-")}" +BB_CONSOLELOG = "${TMPDIR}/cooker.log.${DATETIME}" + # Setup our default hash policy BB_SIGNATURE_HANDLER ?= "basic" BB_HASHTASK_WHITELIST ?= "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)"