diff options
| author | Guocai He <guocai.he.cn@windriver.com> | 2024-08-22 09:52:00 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-08-22 08:02:27 -0700 |
| commit | ddd322323eba44542b6b631d455e3298c50c4535 (patch) | |
| tree | b10b53e7dfb1a422cfdf8a8916e7c8fa90165c49 /meta-oe/recipes-dbs | |
| parent | a29c6386d576ddb7163c4b685b9faabf71d60d2a (diff) | |
| download | meta-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>
Diffstat (limited to 'meta-oe/recipes-dbs')
| -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 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 | ||
| 34 | BINCONFIG_GLOB = "mysql_config" | 34 | BINCONFIG_GLOB = "mysql_config" |
| 35 | 35 | ||
| 36 | inherit cmake gettext binconfig update-rc.d systemd multilib_script pkgconfig | 36 | inherit cmake gettext binconfig update-rc.d systemd multilib_script multilib_header pkgconfig |
| 37 | 37 | ||
| 38 | MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ | 38 | MULTILIB_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 | ||
| 41 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" | 43 | INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" |
| 42 | INITSCRIPT_NAME:${PN}-server = "mysqld" | 44 | INITSCRIPT_NAME:${PN}-server = "mysqld" |
| @@ -160,6 +162,7 @@ mariadb_sysroot_preprocess () { | |||
| 160 | 162 | ||
| 161 | do_install() { | 163 | do_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}/ |
