Merge pull request #520 from dylanmtaylor/descriptions

Add descriptions for top-level profiles
This commit is contained in:
Anton Hvornum 2021-05-27 17:43:01 +02:00 committed by GitHub
commit f4bb884625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 2 deletions

View File

@ -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()

View File

@ -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__ = [

View File

@ -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):
"""

View File

@ -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",

View File

@ -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',