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:
authorAnton Hvornum <anton@hvornum.se>2021-04-11 07:58:29 +0000
committerGitHub <noreply@github.com>2021-04-11 07:58:29 +0000
commit0d14b4b9dc99e519818de091533ca9fb2f2d223c (patch)
tree76e88548c260ba603dcf2eb05e2e659fc12c7c07 /profiles/xorg.py
parent3d659dead8cf06e71ad9c36db1abec3f22335414 (diff)
parent09f252d0315469ad699066279e04c4e3424ea967 (diff)
Merge pull request #273 from dylanmtaylor/patch-2
Restructure Graphics Driver Selection for 2.2.0
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.