bitbake.conf: store cooker logs in TMPDIR subdirectory
RFC 1/1 bitbake.conf: store cooker logs in TMPDIR subdirectory
* 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
--- meta/conf/bitbake.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/bitbake.conf +1 -1
@@ -754,7 +754,7 @@ DISTRO[unexport] = "1" 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}" +BB_CONSOLELOG ?= "${TMPDIR}/cooker/${MACHINE}/${DATETIME}" # Setup our default hash policy BB_SIGNATURE_HANDLER ?= "OEBasicHash"
Signature · 1 line
1.7.8.6
Quoted 20 lines · On Thursday 02 August 2012 18:24:43 Martin Jansa wrote:
* we should probably wait until
http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf
18570be629d9is 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.confSigned-off-by Martin Jansa <[email protected]>--- meta/conf/bitbake.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/conf/bitbake.conf +0
-0@@ -754,7 +754,7 @@ DISTRO[unexport] = "1" TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_","-")}"
Quoted 3 lines
# Complete output from bitbake, if you're changing it, make sure to use
existing directory -BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}" +BB_CONSOLELOG ?= "${TMPDIR}/cooker/${MACHINE}/${DATETIME}"
I was thinking about this the other day - shouldn't we be using LOG_DIR for this?
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 21 lines · Paul Eggleton
Quoted 20 lines · On Thursday 02 August 2012 18:24:43 Martin Jansa wrote:
* we should probably wait until
http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf
18570be629d9is 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.confSigned-off-by Martin Jansa <[email protected]>--- meta/conf/bitbake.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)meta/conf/bitbake.conf +0
-0@@ -754,7 +754,7 @@ DISTRO[unexport] = "1" TRANSLATED_TARGET_ARCH ??= "${@d.getVar('TARGET_ARCH', True).replace("_","-")}"
Quoted 6 lines
Quoted 3 lines
# Complete output from bitbake, if you're changing it, make sure to use
existing directory -BB_CONSOLELOG ?= "${TMPDIR}/cooker.log.${DATETIME}" +BB_CONSOLELOG ?= "${TMPDIR}/cooker/${MACHINE}/${DATETIME}"I was thinking about this the other day - shouldn't we be using
LOG_DIRfor this?
Yes, makes sense. And I've also forgot to remove that comment above BB_CONSOLELOG"
Quoted 8 lines
Cheers,
PaulSignature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
RFC v2 1/1 bitbake.conf: store cooker logs in TMPDIR subdirectory
* 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
--- meta/conf/bitbake.conf | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/conf/bitbake.conf +2 -2
@@ -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"
Signature · 1 line
1.7.8.6
Quoted 15 lines · Martin Jansa
* 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.confSigned-off-by Martin Jansa <[email protected]>--- meta/conf/bitbake.conf | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)meta/conf/bitbake.conf +0
-0
meta/conf/bitbake.conf DISTRO[unexport] = "1" · line 757
Quoted 7 lines
meta/conf/bitbake.conf +2
-2@@ -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"
I'd recommend rewording the commit subject. It's not 100% clear that it refers to 'the tmpdir subdir' or 'a subdir of tmpdir', until you read the patch :)
Signature · 1 line
Christopher Larson
RFC v3 1/1 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
--- meta/conf/bitbake.conf | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/conf/bitbake.conf +2 -2
@@ -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"
Signature · 1 line
1.7.8.6
Saul Wold
AppliedRe: [RFCv3] bitbake.conf: store cooker logs in subdirectory of LOG_DIR
Quoted 16 lines · Martin Jansa
* 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.confSigned-off-by Martin Jansa <[email protected]>--- meta/conf/bitbake.conf | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)meta/conf/bitbake.conf +0
-0
meta/conf/bitbake.conf DISTRO[unexport] = "1" · line 760
Quoted 10 lines
meta/conf/bitbake.conf +2
-2@@ -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"
Merged into OE-Core
Thanks
Sau!