diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 4b16f8cf..36c1a0ed 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -102,8 +102,7 @@ class Installer: for kernel in self.kernels: self._base_packages.append(kernel) - # linux-firmware pulls in its hard deps only, so the optional ones are - # strapped alongside base or their blobs never reach the target + # Optional firmware is strapped with base so the blobs are in place before the initramfs is generated self._base_packages.extend(firmware or []) # If using accessibility tools in the live environment, append those to the packages list diff --git a/archinstall/lib/models/package_types.py b/archinstall/lib/models/package_types.py index bf1fe188..7dbddc7f 100644 --- a/archinstall/lib/models/package_types.py +++ b/archinstall/lib/models/package_types.py @@ -13,12 +13,11 @@ DEFAULT_KERNEL: Final = Kernel.LINUX class FirmwareOptdep(StrEnum): - """linux-firmware's optional dependencies. + """ + The optional dependencies of linux-firmware (pacman -Si linux-firmware). - The metapackage pulls in its hard deps only, so these blobs never reach the - target: hardware that needs one (a Marvell wifi card, a Mellanox NIC) comes - up without firmware and there is nothing in the installer that says so. - Mirrors `pacman -Si linux-firmware` optdepends. + The metapackage installs its hard dependencies only, so these blobs are + never present on the target unless they are requested explicitly. """ LIQUIDIO = 'linux-firmware-liquidio'