diff options
author | Kai Kang <kai.kang@windriver.com> | 2019-09-04 04:42:28 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-04 08:56:30 -0700 |
commit | 22486241fd62dcb1670ada88c57d52e15b854d14 (patch) | |
tree | 522d586be3a9dfdb1d61c35c5a4f91de752e6506 /meta-oe/recipes-dbs | |
parent | 1706197678cdb7de787e0dbd4b6c0f3ece15ffaa (diff) | |
download | meta-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.inc | 4 |
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 | ||
29 | BINCONFIG_GLOB = "mysql_config" | 29 | BINCONFIG_GLOB = "mysql_config" |
30 | 30 | ||
31 | inherit cmake gettext binconfig update-rc.d useradd systemd | 31 | inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script |
32 | |||
33 | MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mysql_install_db ${PN}-server:${bindir}/mysqld_safe" | ||
32 | 34 | ||
33 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" | 35 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" |
34 | INITSCRIPT_NAME_${PN}-server = "mysqld" | 36 | INITSCRIPT_NAME_${PN}-server = "mysqld" |