base.bbclass: Use bb.plain to print the build header
PATCH 1/1 base.bbclass: Use bb.plain to print the build header
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 <[email protected]>
---
meta/classes/base.bbclass +1 -1
@@ -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 = []
Quoted 4 lines · Richard Purdie
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 <[email protected]>
Acked-by Darren Hart <[email protected]>
Quoted 21 lines
---
meta/classes/base.bbclass +1
-1@@ -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 = []_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel