Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall/lib/disk.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index f78907d7..d3f4b069 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -146,14 +146,13 @@ class Partition():
self.mount(mountpoint)
mount_information = get_mount_info(self.path)
- fstype = get_filesystem_type(self.real_device) # blkid -o value -s TYPE self.path
if self.mountpoint != mount_information.get('target', None) and mountpoint:
raise DiskError(f"{self} was given a mountpoint but the actual mountpoint differs: {mount_information.get('target', None)}")
if (target := mount_information.get('target', None)):
self.mountpoint = target
- if (fstype := mount_information.get('fstype', fstype)):
+ if not self.filesystem and (fstype := mount_information.get('fstype', get_filesystem_type(self.real_device))):
self.filesystem = fstype
if self.filesystem == 'crypto_LUKS':