summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuocai He <guocai.he.cn@windriver.com>2024-08-22 09:52:00 +0800
committerKhem Raj <raj.khem@gmail.com>2024-08-22 08:02:27 -0700
commitddd322323eba44542b6b631d455e3298c50c4535 (patch)
treeb10b53e7dfb1a422cfdf8a8916e7c8fa90165c49
parenta29c6386d576ddb7163c4b685b9faabf71d60d2a (diff)
downloadmeta-openembedded-ddd322323eba44542b6b631d455e3298c50c4535.tar.gz
mariadb: File conflicts for multilib
File conflicts between attempted installs of mariadb and lib32-mariadb Signed-off-by: Guocai He <guocai.he.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index 51dd4e8d43..32a6022bab 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -33,10 +33,12 @@ UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags"
33 33
34BINCONFIG_GLOB = "mysql_config" 34BINCONFIG_GLOB = "mysql_config"
35 35
36inherit cmake gettext binconfig update-rc.d systemd multilib_script pkgconfig 36inherit cmake gettext binconfig update-rc.d systemd multilib_script multilib_header pkgconfig
37 37
38MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ 38MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
39 ${PN}-setupdb:${bindir}/mariadb-install-db" 39 ${PN}-setupdb:${bindir}/mariadb-install-db \
40 libmysqlclient-dev:${bindir}/mysql_config \
41 "
40 42
41INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" 43INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
42INITSCRIPT_NAME:${PN}-server = "mysqld" 44INITSCRIPT_NAME:${PN}-server = "mysqld"
@@ -160,6 +162,7 @@ mariadb_sysroot_preprocess () {
160 162
161do_install() { 163do_install() {
162 oe_runmake 'DESTDIR=${D}' install 164 oe_runmake 'DESTDIR=${D}' install
165 oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h mysql/server/private/config.h
163 166
164 install -d ${D}/${sysconfdir}/init.d 167 install -d ${D}/${sysconfdir}/init.d
165 install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/ 168 install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/