Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-11 10:20:33 +0200
committerAnton Hvornum <anton@hvornum.se>2021-04-11 10:20:33 +0200
commit1292c07796b763b926fd5edb21905a663eaef8f0 (patch)
treef91fcc0eb351dc54b24364d232c758573be50cc9 /profiles
parent0d14b4b9dc99e519818de091533ca9fb2f2d223c (diff)
Fixed PR #273. Moved the graphic drivers into hardware since they are hardware specific, in the long run maybe we move them into 'drivers' or something. And moved the user interaction from gfx_drivers into user_interactions. And removed the import from installer.py to __init__.py since we don't want to import 'global functions' in extension imports.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/sway.py2
-rw-r--r--profiles/xorg.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/profiles/sway.py b/profiles/sway.py
index 10e30753..f1d2c1f1 100644
--- a/profiles/sway.py
+++ b/profiles/sway.py
@@ -10,7 +10,7 @@ def _prep_function(*args, **kwargs):
for more input before any other installer steps start.
"""
- __builtins__['_gfx_driver_packages'] = archinstall.lib.gfx_drivers.select_driver()
+ __builtins__['_gfx_driver_packages'] = archinstall.select_driver()
return True
diff --git a/profiles/xorg.py b/profiles/xorg.py
index 6ee72487..42597a37 100644
--- a/profiles/xorg.py
+++ b/profiles/xorg.py
@@ -12,7 +12,7 @@ def _prep_function(*args, **kwargs):
for more input before any other installer steps start.
"""
- __builtins__['_gfx_driver_packages'] = archinstall.lib.gfx_drivers.select_driver()
+ __builtins__['_gfx_driver_packages'] = archinstall.select_driver()
# TODO: Add language section and/or merge it with the locale selected
# earlier in for instance guided.py installer.