index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-09-15 22:17:30 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-09-15 22:17:30 +0200 |
commit | ffc43bc0411c71f84fa1c7e52204c2b20e311429 (patch) | |
tree | ed3e9f28dfb65e2a5759799df13aa4206c6bf330 | |
parent | 9e67ce3f05bb813c997c3c2bc874c4d6ed83c5d6 (diff) |
-rw-r--r-- | profiles/xorg.py | 2 |
diff --git a/profiles/xorg.py b/profiles/xorg.py index ce13664d..b8f33068 100644 --- a/profiles/xorg.py +++ b/profiles/xorg.py @@ -39,6 +39,8 @@ if __name__ == 'xorg': try: if "nvidia" in archinstall.storage.get("gfx_driver_packages", None): if "linux-zen" in archinstall.storage['installation_session'].base_packages or "linux-lts" in archinstall.storage['installation_session'].base_packages: + for kernel in archinstall.storage['installation_session'].kernels: + archinstall.storage['installation_session'].add_additional_packages(f"{kernel}-headers") # Fixes https://github.com/archlinux/archinstall/issues/585 archinstall.storage['installation_session'].add_additional_packages("dkms") # I've had kernel regen fail if it wasn't installed before nvidia-dkms archinstall.storage['installation_session'].add_additional_packages("xorg-server xorg-xinit nvidia-dkms") else: |