index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Charles Vandevoorde <charles@vandevoorde.me> | 2021-05-15 20:43:47 +0200 |
---|---|---|
committer | Charles Vandevoorde <charles@vandevoorde.me> | 2021-05-15 20:43:47 +0200 |
commit | d61801011c57e523d8463d8b8787b2350eb11516 (patch) | |
tree | e6a80948f708edd818c957c770975458823fcbb7 /archinstall/lib | |
parent | 85fa833a8afd3bf180720461b7ffd3477f81c049 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 5 |
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 |