]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Set BB_CONSOLELOG so we log console messages by default
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Nov 2011 14:50:37 +0000 (14:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Nov 2011 22:08:10 +0000 (22:08 +0000)
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 <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index 01f064cbc6a6fef9068c08669b1203dcfa724f5d..458990924bc3d7e9afe9595976fe9445bbd548de 100644 (file)
@@ -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:.*)"