[oe-commits] Chen Qi : mariadb: use ${PN} for SYSTEMD_AUTO_ENABLE

git at git.openembedded.org git at git.openembedded.org
Fri Nov 7 14:16:26 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: 3692902448c29828ce7d25d553a4e6bf11cbb9ec
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=3692902448c29828ce7d25d553a4e6bf11cbb9ec

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Thu Oct 30 14:39:12 2014 +0800

mariadb: use ${PN} for SYSTEMD_AUTO_ENABLE

Use ${PN} instead of hardcoding 'mariadb' so that everything works
fine in case of multilib.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-support/mysql/mariadb_5.5.39.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc b/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
index ae2e92b..459c7ec 100644
--- a/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
+++ b/meta-oe/recipes-support/mysql/mariadb_5.5.39.inc
@@ -31,7 +31,7 @@ GROUPADD_PARAM_${PN}-server = "--system mysql"
 
 SYSTEMD_PACKAGES = "${PN}-server"
 SYSTEMD_SERVICE_${PN}-server = "mysqld.service"
-SYSTEMD_AUTO_ENABLE_mariadb-server = "disable"
+SYSTEMD_AUTO_ENABLE_${PN}-server = "disable"
 
 EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
 



More information about the Openembedded-commits mailing list