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>
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