index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds@gmail.com> | 2021-03-09 12:05:39 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds@gmail.com> | 2021-03-09 12:05:39 +0100 |
commit | b3a5afea60ada944905b45a7150c91a5a8a09fcc (patch) | |
tree | ddd4f0a5a98464b4ba3fad86ef9981e5ae33a8bf /archinstall | |
parent | 747d620596c41094a66a8ae1e39104bc05d90846 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 3 |
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': |