* [PATCH] bitbake: hob: create console log directory before writing
@ 2012-08-21 15:07 Paul Eggleton
2012-08-22 12:57 ` Richard Purdie
0 siblings, 1 reply; 2+ messages in thread
From: Paul Eggleton @ 2012-08-21 15:07 UTC (permalink / raw)
To: bitbake-devel
The default value of BB_CONSOLELOG in OE-Core now points to a directory
that might not exist prior to the first build, so ensure it is created
first.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
bitbake/lib/bb/ui/crumbs/builder.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index cb2338e..611024a 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -1312,6 +1312,7 @@ class Builder(gtk.Window):
def do_log(self, consolelogfile = None):
if consolelogfile:
+ bb.utils.mkdirhier(os.path.dirname(consolelogfile))
if self.consolelog:
self.logger.removeHandler(self.consolelog)
self.consolelog = None
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bitbake: hob: create console log directory before writing
2012-08-21 15:07 [PATCH] bitbake: hob: create console log directory before writing Paul Eggleton
@ 2012-08-22 12:57 ` Richard Purdie
0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-08-22 12:57 UTC (permalink / raw)
To: Paul Eggleton; +Cc: bitbake-devel
On Tue, 2012-08-21 at 16:07 +0100, Paul Eggleton wrote:
> The default value of BB_CONSOLELOG in OE-Core now points to a directory
> that might not exist prior to the first build, so ensure it is created
> first.
>
> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
> ---
> bitbake/lib/bb/ui/crumbs/builder.py | 1 +
> 1 file changed, 1 insertion(+)
Thanks, merged to master.
Cheers,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-22 13:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 15:07 [PATCH] bitbake: hob: create console log directory before writing Paul Eggleton
2012-08-22 12:57 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox