Commit 92779bf4 authored by Julien Muchembled's avatar Julien Muchembled

Make easier to use MariaDB 10.4

Just add the following 2 lines in a SR:

[mariadb]
location = ${mariadb-10.4:location}
parent 4c9175fe
Pipeline #12022 failed with stage
in 0 seconds
...@@ -26,10 +26,10 @@ extends = ...@@ -26,10 +26,10 @@ extends =
parts = parts =
mariadb mariadb
[mariadb] [mariadb-10.4]
recipe = slapos.recipe.cmmi recipe = slapos.recipe.cmmi
shared = true shared = true
url = https://downloads.mariadb.org/f/mariadb-${:version}/source/mariadb-${:version}.tar.gz/from/http%3A//fr.mirror.babylon.network/mariadb/?serve url = https://archive.mariadb.org//mariadb-${:version}/source/mariadb-${:version}.tar.gz
version = 10.4.14 version = 10.4.14
md5sum = 9801120ae8acb33904ab4a3366a7714f md5sum = 9801120ae8acb33904ab4a3366a7714f
location = @@LOCATION@@ location = @@LOCATION@@
...@@ -129,9 +129,9 @@ environment = ...@@ -129,9 +129,9 @@ environment =
### XXX keep using mariadb 10.3.22 because 10.4 cause crash ### XXX keep using mariadb 10.3.22 because 10.4 cause crash
### (we just override here for easier revert) ### (we just override here for easier revert)
[mariadb] [mariadb-10.3]
<= mariadb-10.4
version = 10.3.22 version = 10.3.22
url = https://downloads.mariadb.org/f/mariadb-10.3.22/source/mariadb-10.3.22.tar.gz/from/http%3A//ftp.hosteurope.de/mirror/archive.mariadb.org/?serve
md5sum = f712a5e6fde038d0c9c6d2a2cd88b84e md5sum = f712a5e6fde038d0c9c6d2a2cd88b84e
pre-configure = pre-configure =
set -e '\bSET(PLUGIN_AUTH_PAM YES)' cmake/build_configurations/mysql_release.cmake set -e '\bSET(PLUGIN_AUTH_PAM YES)' cmake/build_configurations/mysql_release.cmake
...@@ -145,14 +145,6 @@ post-install = ...@@ -145,14 +145,6 @@ post-install =
mkdir -p ${:location}/include/wsrep && mkdir -p ${:location}/include/wsrep &&
cp -p wsrep/wsrep_api.h ${:location}/include/wsrep cp -p wsrep/wsrep_api.h ${:location}/include/wsrep
[mroonga-mariadb] [mariadb]
pre-configure = location = ${mariadb-10.3:location}
rm -rf fake_mariadb_source
mkdir -p fake_mariadb_source
cd fake_mariadb_source
ln -s ${mariadb:location}/wsrep-lib
cp -a ${mariadb:location}/include/mysql/server include
cp -a include/private sql
chmod -R a+w include sql # so that buildout can delete this compile-dir after install
mkdir -p ${:plugin-dir}
### /XXX keep using mariadb 10.3.22 because 10.4 cause crash ### /XXX keep using mariadb 10.3.22 because 10.4 cause crash
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment