Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 17:31:14 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 17:31:14 -0400
commit81423330aafa3bb050ccb507f404658b4a903c50 (patch)
tree9868a19ecb0ab348c883a69e3de02048e3cfa852 /archinstall
parent3ee38afce1d8f3680245293f8f97353054afd52a (diff)
parentc036856a3e774d79971a9ff20327d4a973232bfc (diff)
Merge branch 'lxqt-lightdm' into formatting2
Diffstat (limited to 'archinstall')
-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