bitbake: hob: create console log directory before writing
PATCH 1/1 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.
Signed-off-by Paul Eggleton <[email protected]>
--- bitbake/lib/bb/ui/crumbs/builder.py | 1 + 1 file changed, 1 insertion(+)
bitbake/lib/bb/ui/crumbs/builder.py +1 -0
@@ -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
Signature · 1 line
1.7.9.5
Quoted 8 lines · Paul Eggleton
The default value of
BB_CONSOLELOGin 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 <[email protected]>--- bitbake/lib/bb/ui/crumbs/builder.py | 1 + 1 file changed, 1 insertion(+)
Thanks, merged to master.
Cheers,
Richard