[oe-commits] Richard Purdie : bitbake.conf: Set BB_CONSOLELOG so we log console messages by default
git at git.openembedded.org
git at git.openembedded.org
Thu Nov 24 22:13:04 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 4b916ce59bf88ca92b034b2acaddee6130155e46
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4b916ce59bf88ca92b034b2acaddee6130155e46
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Thu Nov 24 14:50:37 2011 +0000
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 <richard.purdie at linuxfoundation.org>
---
meta/conf/bitbake.conf | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 01f064c..4589909 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:.*)"
More information about the Openembedded-commits
mailing list