From d61801011c57e523d8463d8b8787b2350eb11516 Mon Sep 17 00:00:00 2001 From: Charles Vandevoorde Date: Sat, 15 May 2021 20:43:47 +0200 Subject: propagate options when mounting a partition --- archinstall/lib/disk.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2