diff options
| author | Changqing Li <changqing.li@windriver.com> | 2025-02-13 17:23:05 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-13 07:44:16 -0800 |
| commit | f06a439827fb3ec6839f447c5fde2b777c48c982 (patch) | |
| tree | 17461b44ef1187c15b847b47d9e7a3dfe14a57df | |
| parent | 423d560defdc95e53e0f889c4d7d83f18caec36d (diff) | |
| download | meta-openembedded-f06a439827fb3ec6839f447c5fde2b777c48c982.tar.gz | |
mariadb: move /usr/share/mysql to /usr/share/mariadb
Fix error:
$mariadb-install-db --basedir=/usr
FATAL ERROR: Could not find /usr/share/mariadb/fill_help_tables.sql
Upstream commit [1] move /usr/share/mysql to /usr/share/mariadb, this
make related files split into wrong package, and not installed by
default, so cause above error
[1] https://github.com/MariaDB/server/commit/320a4b52c9c73a37b3553cec6a9d170924957c36
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-dbs/mysql/mariadb.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index dae41d89aa..c90e17e129 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc | |||
| @@ -186,8 +186,8 @@ do_install() { | |||
| 186 | # mini-benchmark used for Gitlab-CI to run on every commit to catch | 186 | # mini-benchmark used for Gitlab-CI to run on every commit to catch |
| 187 | # if there are severe performance regressions. | 187 | # if there are severe performance regressions. |
| 188 | # remove it to avoid introducing bash dependency | 188 | # remove it to avoid introducing bash dependency |
| 189 | if [ -f ${D}${datadir}/mysql/mini-benchmark ]; then | 189 | if [ -f ${D}${datadir}/mariadb/mini-benchmark ]; then |
| 190 | rm -rf ${D}${datadir}/mysql/mini-benchmark | 190 | rm -rf ${D}${datadir}/mariadb/mini-benchmark |
| 191 | fi | 191 | fi |
| 192 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then | 192 | if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then |
| 193 | pam_so=$(find ${D} -name pam_user_map.so) | 193 | pam_so=$(find ${D} -name pam_user_map.so) |
| @@ -349,7 +349,7 @@ FILES:${PN}-server = "\ | |||
| 349 | ${libdir}/plugin/*.so \ | 349 | ${libdir}/plugin/*.so \ |
| 350 | ${base_libdir}/security/*.so \ | 350 | ${base_libdir}/security/*.so \ |
| 351 | ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \ | 351 | ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \ |
| 352 | ${datadir}/mysql/ \ | 352 | ${datadir}/mariadb/ \ |
| 353 | ${localstatedir}/mysql/ \ | 353 | ${localstatedir}/mysql/ \ |
| 354 | ${sysconfdir}/init.d/mysqld \ | 354 | ${sysconfdir}/init.d/mysqld \ |
| 355 | ${sysconfdir}/my.cnf \ | 355 | ${sysconfdir}/my.cnf \ |
