]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Use bb.plain to print the build header
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Nov 2011 14:48:58 +0000 (14:48 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Nov 2011 14:49:01 +0000 (14:49 +0000)
If we just use print, the bitbake logging functions don't see the message
and it can get lost if bitbake is for example logging messages to disk.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass

index ba1f230ced05693ede5def64c8430c24d3e380cf..72196d60a7b1a0b3e2e4ace03b4d54993bdc98bb 100644 (file)
@@ -232,7 +232,7 @@ python base_eventhandler() {
 
                statuslines += layers_branch_rev
                statusmsg = "\nOE Build Configuration:\n%s\n" % '\n'.join(statuslines)
-               print statusmsg
+               bb.plain(statusmsg)
 
                needed_vars = [ "TARGET_ARCH", "TARGET_OS" ]
                pesteruser = []