diff options
| author | Guocai He <guocai.he.cn@windriver.com> | 2025-07-23 09:51:58 +0800 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-09-06 16:27:05 +0200 |
| commit | 23a3451a6da7e63d5122318ea9a5d0e1f8cf1e83 (patch) | |
| tree | fb9580a55ab6c5f81bcfffd25a51026beaa483f0 | |
| parent | 78afe9d40cb41f9b7691b4ec4183ca442e70fb63 (diff) | |
| download | meta-openembedded-23a3451a6da7e63d5122318ea9a5d0e1f8cf1e83.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>
(master rev: ddd322323eba44542b6b631d455e3298c50c4535)
Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb.inc | 7 |
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 3980948859..fde5fefd6a 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc | |||
| @@ -44,10 +44,12 @@ S = "${WORKDIR}/mariadb-${PV}" | |||
| 44 | 44 | ||
| 45 | BINCONFIG_GLOB = "mysql_config" | 45 | BINCONFIG_GLOB = "mysql_config" |
| 46 | 46 | ||
| 47 | inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script | 47 | inherit cmake gettext binconfig update-rc.d useradd systemd multilib_script multilib_header |
| 48 | 48 | ||
| 49 | MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ | 49 | MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ |
| 50 | ${PN}-setupdb:${bindir}/mariadb-install-db" | 50 | ${PN}-setupdb:${bindir}/mariadb-install-db \ |
| 51 | libmysqlclient-dev:${bindir}/mysql_config \ | ||
| 52 | " | ||
| 51 | 53 | ||
| 52 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" | 54 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" |
| 53 | INITSCRIPT_NAME:${PN}-server = "mysqld" | 55 | INITSCRIPT_NAME:${PN}-server = "mysqld" |
| @@ -167,6 +169,7 @@ mariadb_sysroot_preprocess () { | |||
| 167 | 169 | ||
| 168 | do_install() { | 170 | do_install() { |
| 169 | oe_runmake 'DESTDIR=${D}' install | 171 | oe_runmake 'DESTDIR=${D}' install |
| 172 | oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h mysql/server/private/config.h | ||
| 170 | 173 | ||
| 171 | install -d ${D}/${sysconfdir}/init.d | 174 | install -d ${D}/${sysconfdir}/init.d |
| 172 | install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/ | 175 | install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/ |
