[OE-core] [PATCH] base.bbclass: Use bb.plain to print the build header
Darren Hart
dvhart at linux.intel.com
Thu Nov 24 16:03:56 UTC 2011
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 at linuxfoundation.org>
Acked-by: Darren Hart <dvhart at 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 at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the Openembedded-core
mailing list