Do not re-order amdgpu and radeon modules in mkinitcpio (#3866)

This is not necessary as kms hook for mkinitcpio already takes care
of adding amdgpu and radeon modules.

Signed-off-by: Vasiliy Stelmachenok <ventureo@cachyos.org>
This commit is contained in:
Vasiliy Stelmachenok 2025-10-13 12:12:41 +03:00 committed by GitHub
parent 8fb83a7beb
commit daab8e6ff6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 7 deletions

View File

@ -228,13 +228,6 @@ class ProfileHandler:
headers = [f'{kernel}-headers' for kernel in install_session.kernels]
# Fixes https://github.com/archlinux/archinstall/issues/585
install_session.add_additional_packages(headers)
elif driver in [GfxDriver.AllOpenSource, GfxDriver.AmdOpenSource]:
# The order of these two are important if amdgpu is installed #808
install_session.remove_mod('amdgpu')
install_session.remove_mod('radeon')
install_session.append_mod('amdgpu')
install_session.append_mod('radeon')
driver_pkgs = driver.gfx_packages()
pkg_names = [p.value for p in driver_pkgs]