* [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
* Re: [PATCH] base.bbclass: Use bb.plain to print the build header
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
0 siblings, 0 replies; 2+ messages in thread
From: Darren Hart @ 2011-11-24 16:03 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 11/24/2011 06:57 AM, Richard Purdie wrote:
> 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>
Acked-by: Darren Hart <dvhart@linux.intel.com>
> ---
> 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 = []
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
^ permalink raw reply [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