[oe-commits] Paul Barrette : lsb: add begin function to lsb_log_message

git at git.openembedded.org git at git.openembedded.org
Wed Oct 30 17:18:56 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: c956290902afd0e4f6d8f545dfe0a55796deec5e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c956290902afd0e4f6d8f545dfe0a55796deec5e

Author: Paul Barrette <paul.barrette at windriver.com>
Date:   Tue Oct 29 16:52:04 2013 -0400

lsb: add begin function to lsb_log_message

Some init scripts call a "begin" action to log early init phase
messages, e.g. openvswitch-controller.  Add the "begin" function to
lsb_log_message.

Signed-off-by: Paul Barrette <paul.barrette at windriver.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-extended/lsb/lsb/lsb_log_message |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-extended/lsb/lsb/lsb_log_message b/meta/recipes-extended/lsb/lsb/lsb_log_message
index 2995f78..9daa9c8 100755
--- a/meta/recipes-extended/lsb/lsb/lsb_log_message
+++ b/meta/recipes-extended/lsb/lsb/lsb_log_message
@@ -21,6 +21,11 @@ case "$ACTION" in
 	warning "$*"
 	echo
 	;;
+  begin)
+  	echo -n $*
+	begin "$*"
+	echo
+	;;
   *)
   	;;
 esac



More information about the Openembedded-commits mailing list