Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] base.bbclass: Use bb.plain to print the build header
@ 2011-11-24 14:57 Richard Purdie
  2011-11-24 16:03 ` Darren Hart
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2011-11-24 14:57 UTC (permalink / raw)
  To: openembedded-core

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>
---
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index ba1f230..72196d6 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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 = []





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-24 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-24 14:57 [PATCH] base.bbclass: Use bb.plain to print the build header Richard Purdie
2011-11-24 16:03 ` Darren Hart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox