Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk/filesystem.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/disk/filesystem.py')
-rw-r--r--archinstall/lib/disk/filesystem.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archinstall/lib/disk/filesystem.py b/archinstall/lib/disk/filesystem.py
index dc99afce..9c6e6d35 100644
--- a/archinstall/lib/disk/filesystem.py
+++ b/archinstall/lib/disk/filesystem.py
@@ -55,8 +55,9 @@ class FilesystemHandler:
device_handler.format(mod, enc_conf=self._enc_config)
for part_mod in mod.partitions:
- if part_mod.fs_type == FilesystemType.Btrfs:
- device_handler.create_btrfs_volumes(part_mod, enc_conf=self._enc_config)
+ if part_mod.is_create_or_modify():
+ if part_mod.fs_type == FilesystemType.Btrfs:
+ device_handler.create_btrfs_volumes(part_mod, enc_conf=self._enc_config)
def _do_countdown(self) -> bool:
SIG_TRIGGER = False