Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index f06d38ea..7208a7fd 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -89,7 +89,10 @@ class Installer():
self.log(f"Submit this zip file as an issue to https://github.com/Torxed/archinstall/issues", level=LOG_LEVELS.Warning)
return False
- def mount(self, partition, mountpoint):
+ 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')
+
partition.mount(f'{self.mountpoint}/srv/http')
def post_install_check(self, *args, **kwargs):