From 3c04a6b19612cf79367a17a6d389479a3f3d6711 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 27 May 2022 21:37:38 +0200 Subject: Fix mixup of mount options and fstype during mount (#1258) Fixed issue where `options` wasn't passed as `options=options` and got mixed up as fs-type. --- archinstall/lib/disk/partition.py | 1 + 1 file changed, 1 insertion(+) (limited to 'archinstall/lib/disk/partition.py') diff --git a/archinstall/lib/disk/partition.py b/archinstall/lib/disk/partition.py index bb1ffeb6..73c88597 100644 --- a/archinstall/lib/disk/partition.py +++ b/archinstall/lib/disk/partition.py @@ -481,6 +481,7 @@ class Partition: def mount(self, target :str, fs :Optional[str] = None, options :str = '') -> bool: if not self.mountpoint: log(f'Mounting {self} to {target}', level=logging.INFO) + if not fs: if not self.filesystem: raise DiskError(f'Need to format (or define) the filesystem on {self} before mounting.') -- cgit v1.2.3-70-g09d2