]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
initscripts: add function log_success_msg/log_failure_msg/log_warning_msg
authorChangqing Li <changqing.li@windriver.com>
Mon, 28 Apr 2025 07:11:24 +0000 (15:11 +0800)
committerSteve Sakoman <steve@sakoman.com>
Thu, 8 May 2025 20:19:12 +0000 (13:19 -0700)
commit1956cb8e04c586b555f51bc68b74ad5d5cf1a043
tree2f3b2067a0b24c8b78a29755922c9f8403f32410
parent2d202462cf85e92cc18bc07cffdb0f335e524256
initscripts: add function log_success_msg/log_failure_msg/log_warning_msg

* add function log_success_msg/log_failure_msg/log_warning_msg, some
packages still use these functions, like mariadb, refer [1], without
these function, with sysV init manager, mariadb will report error:

root@qemux86-64:~# /etc/init.d/mysqld status
/etc/init.d/mysqld: line 383: log_success_msg: command not found

* remove RCONFLICTS with lsbinitscripts, LSB support already remove in
  [2]

[1] https://github.com/MariaDB/server/blob/main/support-files/mysql.server.sh#L104
[2] https://git.openembedded.org/openembedded-core/commit/?id=fb064356af615d67d85b65942103bf943d84d290
[3] https://refspecs.linuxbase.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-core/initscripts/initscripts-1.0/functions
meta/recipes-core/initscripts/initscripts_1.0.bb