Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan M. Taylor <dylan@dylanmtaylor.com>2021-04-29 07:33:46 -0400
committerGitHub <noreply@github.com>2021-04-29 13:33:46 +0200
commitf7cb4c8fb9b5fbb8789ba988d77d2a58a70634c1 (patch)
tree8a91f64329802a578c4af05c8b2cc47e5ada8b9e
parent0ebc6be7ae3b153f2baad722a08a2019bb04c905 (diff)
Add MariaDB Application Profile (#386)
-rw-r--r--profiles/applications/mariadb.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/profiles/applications/mariadb.py b/profiles/applications/mariadb.py
new file mode 100644
index 00000000..e458a45a
--- /dev/null
+++ b/profiles/applications/mariadb.py
@@ -0,0 +1,11 @@
+import archinstall
+
+# Define the package list in order for lib to source
+# which packages will be installed by this profile
+__packages__ = ["mariadb"]
+
+installation.add_additional_packages(__packages__)
+
+installation.arch_chroot("mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql")
+
+installation.enable_service('mariadb')