Skip to contentSkip to conversation

mariadb: use ${PN} for SYSTEMD_ATUO_ENABLE

PATCH New [email protected] 1 participant 1 message Oct 30, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mariadb: use ${PN} for SYSTEMD_ATUO_ENABLE

From: Chen Qi <[email protected]>

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

---
 meta-oe/recipes-support/mysql/mariadb_5.5.39.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/mysql/mariadb_5.5.39.inc +1 -1
index ae2e92b..459c7ec 100644
@@ -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'"
 
Signature · 1 line
1.9.1