summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-21 16:07:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-22 13:59:55 +0100
commit2a6818eea1d73a66204e4a903300c9794f277efe (patch)
tree2c25779c28d093565f7fea5bf6fcc2bd5af1e913 /bitbake/lib
parentbf64b6ec396239b08cf1b602e6167c56519e555a (diff)
downloadpoky-2a6818eea1d73a66204e4a903300c9794f277efe.tar.gz
bitbake: bitbake: hob: create console log directory before writing
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. (Bitbake rev: 660821769b9dfb89086291ffc835e9b5444509be) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index cb2338e777..611024aae3 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):
1312 1312
1313 def do_log(self, consolelogfile = None): 1313 def do_log(self, consolelogfile = None):
1314 if consolelogfile: 1314 if consolelogfile:
1315 bb.utils.mkdirhier(os.path.dirname(consolelogfile))
1315 if self.consolelog: 1316 if self.consolelog:
1316 self.logger.removeHandler(self.consolelog) 1317 self.logger.removeHandler(self.consolelog)
1317 self.consolelog = None 1318 self.consolelog = None