From daab8e6ff626b4c26483b931f2ec54b3230bc0f8 Mon Sep 17 00:00:00 2001 From: Vasiliy Stelmachenok <92667539+ventureoo@users.noreply.github.com> Date: Mon, 13 Oct 2025 12:12:41 +0300 Subject: [PATCH] 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 --- archinstall/lib/profile/profiles_handler.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/archinstall/lib/profile/profiles_handler.py b/archinstall/lib/profile/profiles_handler.py index 0043e704..cfe85de9 100644 --- a/archinstall/lib/profile/profiles_handler.py +++ b/archinstall/lib/profile/profiles_handler.py @@ -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]