mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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>
This commit is contained in:
parent
7cdddd5104
commit
cafc94c4a2
|
@ -7,4 +7,10 @@ do_install_append() {
|
||||||
echo failure \(\) \{ >> ${D}${sysconfdir}/init.d/functions
|
echo failure \(\) \{ >> ${D}${sysconfdir}/init.d/functions
|
||||||
echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions
|
echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions
|
||||||
echo \} >> ${D}${sysconfdir}/init.d/functions
|
echo \} >> ${D}${sysconfdir}/init.d/functions
|
||||||
|
echo warning \(\) \{ >> ${D}${sysconfdir}/init.d/functions
|
||||||
|
echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions
|
||||||
|
echo \} >> ${D}${sysconfdir}/init.d/functions
|
||||||
|
echo begin \(\) \{ >> ${D}${sysconfdir}/init.d/functions
|
||||||
|
echo \ \ \ \ echo \$* >> ${D}${sysconfdir}/init.d/functions
|
||||||
|
echo \}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user