Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/disk.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py
index 440ff6c4..410bb481 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -388,7 +388,10 @@ class Partition:
pathlib.Path(target).mkdir(parents=True, exist_ok=True)
try:
- sys_command(f'/usr/bin/mount {self.path} {target}')
+ if options:
+ sys_command(f'/usr/bin/mount -o {options} {self.path} {target}')
+ else:
+ sys_command(f'/usr/bin/mount {self.path} {target}')
except SysCallError as err:
raise err