Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-02-07 20:46:12 +0100
committerAnton Hvornum <anton@hvornum.se>2021-02-07 20:46:12 +0100
commit03c46cce2b62b41c5b73f86dffb90eff6a1b8eb2 (patch)
treedfc1b2e0b56421eaa10d6c1773e1e70e1d8e37fd /archinstall/lib
parent62a14d09455c7f7b1b6dbcf5810c8e452d2858d7 (diff)
Added a dummy function call to grab the partition fstype, since unmounted filesystems won't return the fstype obviously.
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/disk.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 52afffcf..5cb95226 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -133,6 +133,7 @@ class Partition():
self.mount(mountpoint)
mount_information = get_mount_info(self.path)
+ actual_fstype = get_filesystem_type(self.path) # 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)}")