Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-09 10:33:32 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-09 10:33:32 +0100
commitc5250fbe3e83bbc5d56a3dc931eaae7b8a3df9aa (patch)
tree1f9219d1d0d20b3f062317c8a427cb223e308795
parent5cf09c6641a2fe1daeece7c34246d954a94c5a9f (diff)
Installer.mount() had accedental hard coded mountpoint.
-rw-r--r--archinstall/lib/installer.py6
1 files changed, 3 insertions, 3 deletions
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]