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 62f1785f..5bbcb0bb 100644
--- a/archinstall/lib/disk.py
+++ b/archinstall/lib/disk.py
@@ -384,7 +384,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