summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-09-04 04:42:28 -0400
committerKhem Raj <raj.khem@gmail.com>2019-09-04 08:56:30 -0700
commit22486241fd62dcb1670ada88c57d52e15b854d14 (patch)
tree522d586be3a9dfdb1d61c35c5a4f91de752e6506 /meta-oe/recipes-dbs
parent1706197678cdb7de787e0dbd4b6c0f3ece15ffaa (diff)
downloadmeta-openembedded-22486241fd62dcb1670ada88c57d52e15b854d14.tar.gz
mariadb: fix file conflictions when multilib enabled
When multilib is enabled, it complains file conflictions of /usr/bin/mysql_install_db and /usr/bin/mysqld_safe. Inherit multilib_script to solve the issues. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs')
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index 9a398b308..9ddf2bee5 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -28,7 +28,9 @@ S = "${WORKDIR}/mariadb-${PV}"
28 28
29BINCONFIG_GLOB = "mysql_config" 29BINCONFIG_GLOB = "mysql_config"
30 30
31inherit cmake gettext binconfig update-rc.d useradd systemd 31inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script
32
33MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mysql_install_db ${PN}-server:${bindir}/mysqld_safe"
32 34
33INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" 35INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
34INITSCRIPT_NAME_${PN}-server = "mysqld" 36INITSCRIPT_NAME_${PN}-server = "mysqld"