Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-27 17:43:01 +0200
committerGitHub <noreply@github.com>2021-05-27 17:43:01 +0200
commitf4bb884625d4b2226e3b6ffbdb4423400c641bc1 (patch)
treeb83f3caa40e530ea0d795b4c5955d426707dfc98
parente6e2783b40ef105220441b3fa0e0a7fcecb90f9c (diff)
parent26a33000d8bbd99fd4c9c0b9f5103fd012f8769a (diff)
Merge pull request #520 from dylanmtaylor/descriptions
Add descriptions for top-level profiles
-rw-r--r--examples/guided.py2
-rw-r--r--profiles/desktop.py2
-rw-r--r--profiles/minimal.py2
-rw-r--r--profiles/server.py2
-rw-r--r--profiles/xorg.py2
5 files changed, 8 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 1f67a460..a43fc9b1 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -61,7 +61,6 @@ def ask_user_questions():
if not archinstall.arguments.get('sys-encoding', None):
archinstall.arguments['sys-encoding'] = 'utf-8'
-
# Ask which harddrive/block-device we will install to
if archinstall.arguments.get('harddrive', None):
archinstall.arguments['harddrive'] = archinstall.BlockDevice(archinstall.arguments['harddrive'])
@@ -453,5 +452,4 @@ else:
if archinstall.arguments.get('gfx_driver', None) is not None:
archinstall.storage['gfx_driver_packages'] = AVAILABLE_GFX_DRIVERS.get(archinstall.arguments.get('gfx_driver', None), None)
-
perform_installation_steps()
diff --git a/profiles/desktop.py b/profiles/desktop.py
index 631c7f76..73df9256 100644
--- a/profiles/desktop.py
+++ b/profiles/desktop.py
@@ -4,6 +4,8 @@ import archinstall
is_top_level_profile = True
+__description__ = 'Provides a selection of desktop environments and tiling window managers, e.g. gnome, kde, sway'
+
# New way of defining packages for a profile, which is iterable and can be used out side
# of the profile to get a list of "what packages will be installed".
__packages__ = [
diff --git a/profiles/minimal.py b/profiles/minimal.py
index 13cfd05a..c7df517c 100644
--- a/profiles/minimal.py
+++ b/profiles/minimal.py
@@ -2,6 +2,8 @@
is_top_level_profile = True
+__description__ = 'A very basic installation that allows you to customize Arch Linux as you see fit.'
+
def _prep_function(*args, **kwargs):
"""
diff --git a/profiles/server.py b/profiles/server.py
index 704c8efe..79aa9481 100644
--- a/profiles/server.py
+++ b/profiles/server.py
@@ -6,6 +6,8 @@ import archinstall
is_top_level_profile = True
+__description__ = 'Provides a selection of various server packages to install and enable, e.g. httpd, nginx, mariadb'
+
available_servers = [
"cockpit",
"docker",
diff --git a/profiles/xorg.py b/profiles/xorg.py
index 9006a430..ce13664d 100644
--- a/profiles/xorg.py
+++ b/profiles/xorg.py
@@ -4,6 +4,8 @@ import archinstall
is_top_level_profile = True
+__description__ = 'Installs a minimal system as well as xorg and graphics drivers.'
+
__packages__ = [
'dkms',
'xorg-server',