Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications/mariadb.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-14 15:11:38 +0000
committerGitHub <noreply@github.com>2021-05-14 15:11:38 +0000
commitda0af2294a36f73936473a138639a94958b06460 (patch)
treeb74cc3418d2243adad9bcb490cd7713e122f3053 /profiles/applications/mariadb.py
parentdf6c4e77f721da2b03a510548d281992b25987b2 (diff)
parent22750cefc89e6439d14a5df105af17e4e85eb3cc (diff)
Merge pull request #430 from archlinux/torxed-fix-magic-variables
BC: Replaced the magic __builtin__ global variable for installation
Diffstat (limited to 'profiles/applications/mariadb.py')
-rw-r--r--profiles/applications/mariadb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiles/applications/mariadb.py b/profiles/applications/mariadb.py
index e458a45a..bdde18b5 100644
--- a/profiles/applications/mariadb.py
+++ b/profiles/applications/mariadb.py
@@ -4,8 +4,8 @@ import archinstall
# which packages will be installed by this profile
__packages__ = ["mariadb"]
-installation.add_additional_packages(__packages__)
+archinstall.storage['installation_session'].add_additional_packages(__packages__)
-installation.arch_chroot("mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql")
+archinstall.storage['installation_session'].arch_chroot("mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql")
-installation.enable_service('mariadb')
+archinstall.storage['installation_session'].enable_service('mariadb')