Install mariadb instead of mysql on deb distros

Debian 'buster' does not ship MySQL - only MariaDB is provided.
All supported platforms provide MariaDB.
This patch replaces MySQL with MariaDB to fix Debian Buster.

Debian Jessie is omitted on purpose - no need to touch
unsupported releases.

Change-Id: I9084f70dee2e1ee6eb1f4933ae0f9ef8809c1adc
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
This commit is contained in:
Marcin Juszkiewicz 2019-06-18 10:03:36 +02:00 committed by Radosław Piliszek
parent cd0d3d68e6
commit 302857e617
7 changed files with 7 additions and 8 deletions

View File

@ -11,8 +11,7 @@ lsb-release [platform:suse platform:dpkg]
redhat-lsb [platform:redhat]
make
mariadb [platform:suse]
mariadb-server [platform:redhat]
mysql-server [platform:dpkg]
mariadb-server [platform:redhat platform:dpkg]
net-tools
python [platform:rpm]
python-minimal [platform:dpkg]

View File

@ -9,7 +9,7 @@ nginx_user: www-data
mysql_service_name: mysql
tftp_service_name: tftpd-hpa
required_packages:
- mysql-server
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser

View File

@ -3,7 +3,7 @@ init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mysql-server
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser

View File

@ -3,7 +3,7 @@ init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mysql-server
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser

View File

@ -5,7 +5,7 @@ init_ext: .conf
nginx_user: www-data
mysql_service_name: mysql
required_packages:
- mysql-server
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser

View File

@ -3,7 +3,7 @@ init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mysql-server
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser

View File

@ -3,7 +3,7 @@ init_template: systemd_template.j2
init_dest_dir: /lib/systemd/system/
init_ext: .service
required_packages:
- mysql-server
- mariadb-server
- python-dev
- python-mysqldb
- python-configparser