Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/xorg.py
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-04-10 11:58:53 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-10 11:58:53 -0400
commit5f46f76bd594cf55af4a2a3344599d61d89b2f65 (patch)
tree9d255b36259e5fb91eb111ab530fbb9f41124b98 /profiles/xorg.py
parentd510ad5b989dabc2a4cb7b622a000ff2146f325b (diff)
Multiple restructuring changes
Diffstat (limited to 'profiles/xorg.py')
-rw-r--r--profiles/xorg.py23
1 files changed, 1 insertions, 22 deletions
diff --git a/profiles/xorg.py b/profiles/xorg.py
index 33356859..6ee72487 100644
--- a/profiles/xorg.py
+++ b/profiles/xorg.py
@@ -4,25 +4,6 @@ import archinstall, os
is_top_level_profile = True
-AVAILABLE_DRIVERS = {
- # Sub-dicts are layer-2 options to be selected
- # and lists are a list of packages to be installed
- 'AMD / ATI' : {
- 'amd' : ['xf86-video-amdgpu'],
- 'ati' : ['xf86-video-ati']
- },
- 'intel' : ['xf86-video-intel'],
- 'nvidia' : {
- 'open source' : ['xf86-video-nouveau'],
- 'proprietary' : ['nvidia']
- },
- 'mesa' : ['mesa'],
- 'fbdev' : ['xf86-video-fbdev'],
- 'vesa' : ['xf86-video-vesa'],
- 'vmware' : ['xf86-video-vmware']
-}
-
-
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@@ -30,10 +11,8 @@ def _prep_function(*args, **kwargs):
other code in this stage. So it's a safe way to ask the user
for more input before any other installer steps start.
"""
- print('You need to select which graphics card you\'re using.')
- print('This in order to setup the required graphics drivers.')
- __builtins__['_gfx_driver_packages'] = archinstall.lib.gfx_drivers.select_driver(AVAILABLE_DRIVERS)
+ __builtins__['_gfx_driver_packages'] = archinstall.lib.gfx_drivers.select_driver()
# TODO: Add language section and/or merge it with the locale selected
# earlier in for instance guided.py installer.