summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb.inc')
-rw-r--r--meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb.inc13
1 files changed, 7 insertions, 6 deletions
diff --git a/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb.inc
index 4bfa1c9caa..ae6581ec71 100644
--- a/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -23,20 +23,20 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \
file://lfs64.patch \
file://0001-Add-missing-includes-cstdint-and-cstdio.patch \
- file://0001-Remove-the-compile_time_assert-lines.patch \
- file://0001-MDEV-33439-Fix-build-with-libxml2-2.12.patch \
"
SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch"
-SRC_URI[sha256sum] = "5239a245ed90517e96396605cd01ccd8f73cd7442d1b3076b6ffe258110e5157"
+SRC_URI[sha256sum] = "0a00180864cd016187c986faab8010de23a117b9a75f91d6456421f894e48d20"
-UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
+UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags"
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"
@@ -160,6 +160,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 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/