mariadb: File conflicts for multilib
PATCH 1/1 mariadb: File conflicts for multilib
From: Guocai He <[email protected]>
File conflicts between attempted installs of mariadb and lib32-mariadb
Signed-off-by Guocai He <[email protected]>
Signed-off-by Khem Raj <[email protected]>
(cherry picked from commit ddd322323eba44542b6b631d455e3298c50c4535)
igned-off-by Guocai He <[email protected]>
--- meta-oe/recipes-dbs/mysql/mariadb.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta-oe/recipes-dbs/mysql/mariadb.inc +5 -2
@@ -33,10 +33,12 @@ S = "${WORKDIR}/mariadb-${PV}" BINCONFIG_GLOB = "mysql_config" -inherit cmake gettext binconfig update-rc.d systemd multilib_script pkgconfig +inherit cmake gettext binconfig update-rc.d systemd multilib_script multilib_header pkgconfig MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ - ${PN}-setupdb:${bindir}/mariadb-install-db" + ${PN}-setupdb:${bindir}/mariadb-install-db \ + libmysqlclient-dev:${bindir}/mysql_config \ + " INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" INITSCRIPT_NAME:${PN}-server = "mysqld"
@@ -159,6 +161,7 @@ mariadb_sysroot_preprocess () { do_install() { oe_runmake 'DESTDIR=${D}' install + oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h mysql/server/private/config.h install -d ${D}/${sysconfdir}/init.d install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
Signature · 1 line
2.34.1
Please skip this email.
I will update the commit info then re-sent the email.
________________________________
From: He, Guocai (CN)
Sent: Tuesday, July 22, 2025 11:33 AM
To: [email protected] <[email protected]>
Subject: [meta-openembedded][meta-oe][scarthgap][PATCH] mariadb: File conflicts for multilib
From: Guocai He <[email protected]>
File conflicts between attempted installs of mariadb and lib32-mariadb
Signed-off-by Guocai He <[email protected]>
Signed-off-by Khem Raj <[email protected]>
(cherry picked from commit ddd322323eba44542b6b631d455e3298c50c4535)
igned-off-by Guocai He <[email protected]>
--- meta-oe/recipes-dbs/mysql/mariadb.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
meta-oe/recipes-dbs/mysql/mariadb.inc +5 -2
@@ -33,10 +33,12 @@ S = "${WORKDIR}/mariadb-${PV}" BINCONFIG_GLOB = "mysql_config" -inherit cmake gettext binconfig update-rc.d systemd multilib_script pkgconfig +inherit cmake gettext binconfig update-rc.d systemd multilib_script multilib_header pkgconfig MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ - ${PN}-setupdb:${bindir}/mariadb-install-db" + ${PN}-setupdb:${bindir}/mariadb-install-db \ + libmysqlclient-dev:${bindir}/mysql_config \ + " INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" INITSCRIPT_NAME:${PN}-server = "mysqld"
@@ -159,6 +161,7 @@ mariadb_sysroot_preprocess () { do_install() { oe_runmake 'DESTDIR=${D}' install + oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h mysql/server/private/config.h install -d ${D}/${sysconfdir}/init.d install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
--
2.34.1