mysql: start at runlevel 5 not S
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Thu, 18 Oct 2012 13:03:49 +0000 (13:03 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:24:15 +0000 (08:24 -0800)
Without that change target system had to be restarted to get MySQL
running or it had to be run by hand. Reason was simple: mysql init
script was starting before S99configure when package was not yet
configured.

(From meta-openembedded rev: 44cb71bbc98ab351748b300023cdae7a01ce5c7b)

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/mysql/mysql5_5.1.40.inc

index 40b6b01..72e9ef8 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=477ab0a4c8ca64b482b3f2a365d0fdfa"
 
 DEPENDS = "ncurses"
-PR = "r8"
+PR = "r9"
 
 SRC_URI = "http://downloads.mysql.com/archives/mysql-5.1/mysql-${PV}.tar.gz \
            file://configure.in.patch \
@@ -26,7 +26,7 @@ inherit autotools binconfig update-rc.d
 
 INITSCRIPT_PACKAGES = "${PN}-server"
 INITSCRIPT_NAME = "mysqld"
-INITSCRIPT_PARAMS = "start 45 S . stop 45 0 6 1 ."
+INITSCRIPT_PARAMS = "start 45 5 . stop 45 0 6 1 ."
 
 export ac_cv_path_PS="/bin/ps"
 export ac_cv_FIND_PROC="/bin/ps p \$\$PID | grep -v grep | grep mysqld > /dev/null"