From c5250fbe3e83bbc5d56a3dc931eaae7b8a3df9aa Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 9 Dec 2020 10:33:32 +0100 Subject: Installer.mount() had accedental hard coded mountpoint. --- archinstall/lib/installer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archinstall') diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index e06f59a5..e4219323 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -92,10 +92,10 @@ class Installer(): return False def mount(self, partition, mountpoint, create_mountpoint=True): - if create_mountpoint and not os.path.isdir(f'{self.mountpoint}/srv/http'): - os.makedirs(f'{self.mountpoint}/srv/http') + if create_mountpoint and not os.path.isdir(f'{self.mountpoint}{mountpoint}'): + os.makedirs(f'{self.mountpoint}{mountpoint}') - partition.mount(f'{self.mountpoint}/srv/http') + partition.mount(f'{self.mountpoint}{mountpoint}') def post_install_check(self, *args, **kwargs): return [step for step, flag in self.helper_flags.items() if flag is False] -- cgit v1.2.3-54-g00ecf