mirror of
git://git.yoctoproject.org/poky
synced 2026-10-01 11:34:16 +00:00
LSB lsb_log_message calls a begin() function that should be implemented in /etc/init.d/functions. The aforementioned script does not implement the begin() function, as such there is a small issue related to logging. This fix implements a local version of the function, while cleaning up the troublesome previous implementation. Fix [YOCTO #5795] (From OE-Core rev: 365ab9118b6c68aedb2e79129202b385329a8abb) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
28 lines
241 B
Bash
Executable File
28 lines
241 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. /etc/init.d/functions
|
|
|
|
ACTION=$1
|
|
shift
|
|
|
|
case "$ACTION" in
|
|
success)
|
|
echo -n $*
|
|
success "$*"
|
|
echo
|
|
;;
|
|
failure)
|
|
echo -n $*
|
|
failure "$*"
|
|
echo
|
|
;;
|
|
warning)
|
|
echo -n $*
|
|
warning "$*"
|
|
echo
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
exit 0
|