bitbake.conf: Set BB_CONSOLELOG so we log console messages by default
PATCH 1/1 bitbake.conf: Set BB_CONSOLELOG so we log console messages by default
---
meta/conf/bitbake.conf +2 -0
@@ -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:.*)"
I believe this is the fix for Yocto Bug 1771? If so, awesome! A one liner, something to be said for really knowing the codebase.
I would only suggest a commit log which includes the bug line, motivation and the approach taken, per the contribution guidelines. Maybe something like:
"""""
Fixes [YOCTO #1771]
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 tmp/cooker.log.${DATETIME} by default.
"""""
Thanks,
Darren
Quoted 22 lines · Richard Purdie
Signed-off-by Richard Purdie <[email protected]>---
meta/conf/bitbake.conf +2
-0@@ -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:.*)"_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 2 lines · Darren Hart
I believe this is the fix for Yocto Bug 1771? If so, awesome! A one liner, something to be said for really knowing the codebase.
It has a dependent on a ~5 line change to bitbake over on bitbake-devel but yes, it fixes 1771.
Quoted 4 lines
I would only suggest a commit log which includes the bug line, motivation and the approach taken, per the contribution guidelines. Maybe something like:
Quoted 8 lines
"""""
Fixes [YOCTO #1771]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 tmp/cooker.log.${DATETIME} by default.
"""""
FWIW most of the commit message is over on bitbake-devel but I should have referenced the bug number, yes.
Cheers,
Richard