Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications/mariadb.py
blob: bdde18b5e7a7c851b4c2956881159f4344a26b44 (plain)
1
2
3
4
5
6
7
8
9
10
11
import archinstall

# Define the package list in order for lib to source
# which packages will be installed by this profile
__packages__ = ["mariadb"]

archinstall.storage['installation_session'].add_additional_packages(__packages__)

archinstall.storage['installation_session'].arch_chroot("mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql")

archinstall.storage['installation_session'].enable_service('mariadb')