[oe-commits] Martin Jansa : bitbake.conf: store cooker logs in subdirectory of LOG_DIR

git at git.openembedded.org git at git.openembedded.org
Wed Aug 15 13:31:58 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: a1e4d32ede287f73c6acc796b43fe5b90c072fab
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a1e4d32ede287f73c6acc796b43fe5b90c072fab

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Thu Aug  2 18:45:09 2012 +0200

bitbake.conf: store cooker logs in subdirectory of LOG_DIR

* we should probably wait until
  http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9
  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>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/conf/bitbake.conf |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index d5a43e9..8074684 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -753,8 +753,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("_", "-")}"
 
-# Complete output from bitbake, if you're changing it, make sure to use existing directory
-BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}"
+# Complete output from bitbake
+BB_CONSOLELOG ?= "${LOG_DIR}/cooker/${MACHINE}/${DATETIME}.log"
 
 # Setup our default hash policy
 BB_SIGNATURE_HANDLER ?= "OEBasicHash"





More information about the Openembedded-commits mailing list