[OE-core] [PATCH] lsb: add begin function to lsb_log_message
Paul Barrette
paul.barrette at windriver.com
Tue Oct 29 20:52:04 UTC 2013
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>
---
meta/recipes-extended/lsb/lsb/lsb_log_message | 5 +++++
1 file changed, 5 insertions(+)
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
--
1.8.1.4
More information about the Openembedded-core
mailing list