diff options
author | Paul Barrette <paul.barrette@windriver.com> | 2013-10-29 16:40:27 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-29 23:08:06 -0400 |
commit | cafc94c4a2b599d553712dcbb1b01eefd1ef3941 (patch) | |
tree | 3f91cfd78b85d7665095c4d739a1680b4d404bb0 /recipes-core/initscripts | |
parent | 7cdddd5104a15cea71b42d4e8575bee69c23ff09 (diff) | |
download | meta-virtualization-cafc94c4a2b599d553712dcbb1b01eefd1ef3941.tar.gz |
initscripts: add warning and begin functions to lsb_log_message
Some init scripts call a "begin" or "warning" function to log early init
phase messages, e.g. openvswitch-controller. These functions are not
part of the default /etc/init.d/functions script, which is provided by
oe-core's lsb pkg. Append these two missing commands to
/etc/init.d/functions during the install phase.
Signed-off-by: Paul Barrette <paul.barrette@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-core/initscripts')
-rw-r--r-- | recipes-core/initscripts/initscripts_1.0.bbappend | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-core/initscripts/initscripts_1.0.bbappend b/recipes-core/initscripts/initscripts_1.0.bbappend index 04d848d6..02b5bc4f 100644 --- a/recipes-core/initscripts/initscripts_1.0.bbappend +++ b/recipes-core/initscripts/initscripts_1.0.bbappend | |||
@@ -7,4 +7,10 @@ do_install_append() { | |||
7 | echo failure \(\) \{ >> ${D}${sysconfdir}/init.d/functions | 7 | echo failure \(\) \{ >> ${D}${sysconfdir}/init.d/functions |
8 | echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions | 8 | echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions |
9 | echo \} >> ${D}${sysconfdir}/init.d/functions | 9 | echo \} >> ${D}${sysconfdir}/init.d/functions |
10 | echo warning \(\) \{ >> ${D}${sysconfdir}/init.d/functions | ||
11 | echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions | ||
12 | echo \} >> ${D}${sysconfdir}/init.d/functions | ||
13 | echo begin \(\) \{ >> ${D}${sysconfdir}/init.d/functions | ||
14 | echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions | ||
15 | echo \} | ||
10 | } | 16 | } |