From 53e8cb3a8c423ce8852b049fa6402ee0f87df9f0 Mon Sep 17 00:00:00 2001 From: Vasiliy Stelmachenok <92667539+ventureoo@users.noreply.github.com> Date: Mon, 13 Oct 2025 23:33:45 +0300 Subject: [PATCH] Do not install Btrfs module and binary in mkinitcpio (#3865) * Do not install Btrfs module and binary in mkinitcpio This is what btrfs hook already does. Signed-off-by: Vasiliy Stelmachenok * Remove unused properties from FilesystemType They were only needed for Btrfs Signed-off-by: Vasiliy Stelmachenok --------- Signed-off-by: Vasiliy Stelmachenok --- archinstall/lib/installer.py | 4 ---- archinstall/lib/models/device.py | 16 ---------------- 2 files changed, 20 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 758c74ac..2744f7fc 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -802,10 +802,6 @@ class Installer: ) -> None: if (pkg := fs_type.installation_pkg) is not None: self._base_packages.append(pkg) - if (module := fs_type.installation_module) is not None: - self._modules.append(module) - if (binary := fs_type.installation_binary) is not None: - self._binaries.append(binary) # https://github.com/archlinux/archinstall/issues/1837 if fs_type.fs_type_mount == 'btrfs': diff --git a/archinstall/lib/models/device.py b/archinstall/lib/models/device.py index 7dc94039..45cf0640 100644 --- a/archinstall/lib/models/device.py +++ b/archinstall/lib/models/device.py @@ -822,22 +822,6 @@ class FilesystemType(Enum): case _: return None - @property - def installation_module(self) -> str | None: - match self: - case FilesystemType.Btrfs: - return 'btrfs' - case _: - return None - - @property - def installation_binary(self) -> str | None: - match self: - case FilesystemType.Btrfs: - return '/usr/bin/btrfs' - case _: - return None - @property def installation_hooks(self) -> str | None: match self: