Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/applications
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-05-10 15:56:28 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-05-10 15:56:28 +0200
commit683da22298abbd90f51d4dd38a7ec4b0dfb04555 (patch)
treeec2ac04967f9277df038edc362201937b331abe5 /profiles/applications
parentaf7ab9833c9f9944874f0162ae0975175ddc628d (diff)
parent3381cd55673e5105697d354cf4a1be9a7bcef062 (diff)
merged with upstreamHEADmaster
Diffstat (limited to 'profiles/applications')
-rw-r--r--profiles/applications/__init__.py0
-rw-r--r--profiles/applications/awesome.py34
-rw-r--r--profiles/applications/cockpit.py13
-rw-r--r--profiles/applications/docker.py9
-rw-r--r--profiles/applications/httpd.py9
-rw-r--r--profiles/applications/lighttpd.py9
-rw-r--r--profiles/applications/mariadb.py11
-rw-r--r--profiles/applications/nginx.py9
-rw-r--r--profiles/applications/pipewire.py14
-rw-r--r--profiles/applications/postgresql.py11
-rw-r--r--profiles/applications/sshd.py9
-rw-r--r--profiles/applications/tomcat.py12
12 files changed, 0 insertions, 140 deletions
diff --git a/profiles/applications/__init__.py b/profiles/applications/__init__.py
deleted file mode 100644
index e69de29b..00000000
--- a/profiles/applications/__init__.py
+++ /dev/null
diff --git a/profiles/applications/awesome.py b/profiles/applications/awesome.py
deleted file mode 100644
index 33526fd7..00000000
--- a/profiles/applications/awesome.py
+++ /dev/null
@@ -1,34 +0,0 @@
-import archinstall
-
-__packages__ = [
- "awesome",
- "xorg-xrandr",
- "xterm",
- "feh",
- "slock",
- "terminus-font",
- "gnu-free-fonts",
- "ttf-liberation",
- "xsel",
-]
-
-archinstall.storage['installation_session'].install_profile('xorg')
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-with open(f"{archinstall.storage['installation_session'].target}/etc/X11/xinit/xinitrc", 'r') as xinitrc:
- xinitrc_data = xinitrc.read()
-
-for line in xinitrc_data.split('\n'):
- if "twm &" in line:
- xinitrc_data = xinitrc_data.replace(line, f"# {line}")
- if "xclock" in line:
- xinitrc_data = xinitrc_data.replace(line, f"# {line}")
- if "xterm" in line:
- xinitrc_data = xinitrc_data.replace(line, f"# {line}")
-
-xinitrc_data += '\n'
-xinitrc_data += 'exec awesome\n'
-
-with open(f"{archinstall.storage['installation_session'].target}/etc/X11/xinit/xinitrc", 'w') as xinitrc:
- xinitrc.write(xinitrc_data)
diff --git a/profiles/applications/cockpit.py b/profiles/applications/cockpit.py
deleted file mode 100644
index d8aa0fd1..00000000
--- a/profiles/applications/cockpit.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import archinstall
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = [
- "cockpit",
- "udisks2",
- "packagekit",
-]
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-archinstall.storage['installation_session'].enable_service('cockpit.socket')
diff --git a/profiles/applications/docker.py b/profiles/applications/docker.py
deleted file mode 100644
index afbde1a5..00000000
--- a/profiles/applications/docker.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import archinstall
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = ["docker"]
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-archinstall.storage['installation_session'].enable_service('docker')
diff --git a/profiles/applications/httpd.py b/profiles/applications/httpd.py
deleted file mode 100644
index 23b3fefa..00000000
--- a/profiles/applications/httpd.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import archinstall
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = ["apache"]
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-archinstall.storage['installation_session'].enable_service('httpd')
diff --git a/profiles/applications/lighttpd.py b/profiles/applications/lighttpd.py
deleted file mode 100644
index 71158861..00000000
--- a/profiles/applications/lighttpd.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import archinstall
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = ["lighttpd"]
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-archinstall.storage['installation_session'].enable_service('lighttpd')
diff --git a/profiles/applications/mariadb.py b/profiles/applications/mariadb.py
deleted file mode 100644
index bdde18b5..00000000
--- a/profiles/applications/mariadb.py
+++ /dev/null
@@ -1,11 +0,0 @@
-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')
diff --git a/profiles/applications/nginx.py b/profiles/applications/nginx.py
deleted file mode 100644
index 6f63b15c..00000000
--- a/profiles/applications/nginx.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import archinstall
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = ["nginx"]
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-archinstall.storage['installation_session'].enable_service('nginx')
diff --git a/profiles/applications/pipewire.py b/profiles/applications/pipewire.py
deleted file mode 100644
index 1da7c617..00000000
--- a/profiles/applications/pipewire.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import archinstall
-import logging
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = ["pipewire", "pipewire-alsa", "pipewire-jack", "pipewire-pulse", "gst-plugin-pipewire", "libpulse", "pipewire-media-session"]
-
-archinstall.log('Installing pipewire', level=logging.INFO)
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-@archinstall.plugin
-def on_user_created(installation :archinstall.Installer, user :str):
- archinstall.log(f"Enabling pipewire-pulse for {user}", level=logging.INFO)
- installation.chroot('systemctl enable --user pipewire-pulse.service', run_as=user)
diff --git a/profiles/applications/postgresql.py b/profiles/applications/postgresql.py
deleted file mode 100644
index 80ad4b66..00000000
--- a/profiles/applications/postgresql.py
+++ /dev/null
@@ -1,11 +0,0 @@
-import archinstall
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = ["postgresql"]
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-archinstall.storage['installation_session'].arch_chroot("initdb -D /var/lib/postgres/data", run_as='postgres')
-
-archinstall.storage['installation_session'].enable_service('postgresql')
diff --git a/profiles/applications/sshd.py b/profiles/applications/sshd.py
deleted file mode 100644
index 4199ecb0..00000000
--- a/profiles/applications/sshd.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import archinstall
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = ["openssh"]
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-archinstall.storage['installation_session'].enable_service('sshd')
diff --git a/profiles/applications/tomcat.py b/profiles/applications/tomcat.py
deleted file mode 100644
index ae6d1c2a..00000000
--- a/profiles/applications/tomcat.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import archinstall
-
-# This is using Tomcat 10 as that is the latest release at the time of implementation.
-# This should probably be updated to use newer releases as they come out.
-
-# Define the package list in order for lib to source
-# which packages will be installed by this profile
-__packages__ = ["tomcat10"]
-
-archinstall.storage['installation_session'].add_additional_packages(__packages__)
-
-archinstall.storage['installation_session'].enable_service('tomcat10')