generic-poky/meta
Darren Hart 753bc3e919 logging: add bb* logging mechanisms for bash recipe functions
The following logging mechanisms are to be used in bash functions of recipes.
They are intended to map one to one in intention and output format with the
python recipe logging functions of a similar naming convention: bb.plain(),
bb.note(), etc.

For the time being, all of these print only to the task logs. Future
enhancements may integrate these calls with the bitbake logging infrastructure,
allowing for printing to the console as appropriate. The interface and intention
statements reflect that future goal. Once it is in place, no changes will be
necessary to recipes using these logging mechanisms.

I opted to write new functions instead of modifying the oe* logging functions
from base.bbclass (and utils.bbclass in oe) for a couple reasons. First, one of
my goals was to generate a uniform logging API between bash and python in
recipes. Second, there are no users of oe* logging in meta (oe-core) or
meta-yocto, while several oe recipes do use them. I wanted to make a clean start
with the freedom to change behavior without forcing the oe recipes to change or
experience unexpected logging changes. Eventually, the oe recipes can be
migrated to the new bb* logging routines and the existing oe* routines can be
retired (deleted).

(From OE-Core rev: 7cb3f0206619b725e404282fa7a3ac50b4609f1e)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-28 10:45:41 +01:00
..
classes logging: add bb* logging mechanisms for bash recipe functions 2011-04-28 10:45:41 +01:00
conf distro_tracking_fields.inc: add cdrtools recipe 2011-04-28 10:44:43 +01:00
files Fixing my bad license parsing: license.bbclass 2011-02-26 14:04:41 -08:00
lib/oe lib/oe/distro_check.py: Fixup Poky references 2011-04-21 12:56:19 +01:00
recipes-bsp pcmciautils: Upgrade 017 -> 018 2011-04-24 22:50:42 +01:00
recipes-connectivity gupnp-av: upgrade to version 0.8.0 2011-04-28 10:44:28 +01:00
recipes-core glib-2.0: upgrade to version 2.28.6 2011-04-28 10:44:30 +01:00
recipes-devtools cdrtools: recipe and patch cleanup 2011-04-28 10:44:42 +01:00
recipes-extended cwautomacros: upgrade to version 20110201 2011-04-28 10:44:34 +01:00
recipes-gnome librsvg 2.32.1: fix postinst script 2011-04-24 22:50:43 +01:00
recipes-graphics xorg-lib: inherit gettext class instead of adding gettext to DEPENDS directly 2011-04-28 10:44:39 +01:00
recipes-kernel linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc 2011-04-28 10:44:41 +01:00
recipes-multimedia alsa-utils: upgrade to version 1.0.24.2 2011-04-28 10:44:34 +01:00
recipes-qt Rename poky-lsb override to linuxstdbase 2011-04-21 00:29:32 +01:00
recipes-sato rxvt-unicode: upgrade to version 9.10 2011-04-28 10:44:26 +01:00
recipes-support attr: Fix compilation on uclibc 2011-04-28 10:44:40 +01:00
site site: Add mips-linux-uclibc site file and add to x86_64-linux-uclibc 2011-04-04 14:08:11 +01:00
COPYING.MIT Add missing licence files (COPYING.MIT) 2006-07-23 13:52:32 +00:00
recipes.txt Major layout change to the packages directory 2010-08-27 15:29:45 +01:00