Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profile/profiles_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/profile/profiles_handler.py')
-rw-r--r--archinstall/lib/profile/profiles_handler.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/archinstall/lib/profile/profiles_handler.py b/archinstall/lib/profile/profiles_handler.py
index a8b5cc22..824849c3 100644
--- a/archinstall/lib/profile/profiles_handler.py
+++ b/archinstall/lib/profile/profiles_handler.py
@@ -194,23 +194,23 @@ class ProfileHandler:
install_session.add_additional_packages(f"{kernel}-headers")
# I've had kernel regen fail if it wasn't installed before nvidia-dkms
- install_session.add_additional_packages("dkms xorg-server xorg-xinit nvidia-dkms")
+ install_session.add_additional_packages(['dkms', 'xorg-server', 'xorg-xinit', 'nvidia-dkms'])
return
elif 'amdgpu' in driver_pkgs:
# The order of these two are important if amdgpu is installed #808
- if 'amdgpu' in install_session.MODULES:
- install_session.MODULES.remove('amdgpu')
- install_session.MODULES.append('amdgpu')
+ if 'amdgpu' in install_session.modules:
+ install_session.modules.remove('amdgpu')
+ install_session.modules.append('amdgpu')
- if 'radeon' in install_session.MODULES:
- install_session.MODULES.remove('radeon')
- install_session.MODULES.append('radeon')
+ if 'radeon' in install_session.modules:
+ install_session.modules.remove('radeon')
+ install_session.modules.append('radeon')
install_session.add_additional_packages(additional_pkg)
except Exception as err:
log(f"Could not handle nvidia and linuz-zen specific situations during xorg installation: {err}", level=logging.WARNING, fg="yellow")
# Prep didn't run, so there's no driver to install
- install_session.add_additional_packages("xorg-server xorg-xinit")
+ install_session.add_additional_packages(['xorg-server', 'xorg-xinit'])
def install_profile_config(self, install_session: 'Installer', profile_config: ProfileConfiguration):
profile = profile_config.profile