index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-06 23:08:12 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-06 23:08:12 +0100 |
commit | 17883fcb9f42f0ac6df21bb1d16fcecca3efa131 (patch) | |
tree | 53e3a5bbc14113d827f86dd2fdbdbd3573739a13 /archinstall | |
parent | c7228910a7d2990ba9d34ac55d0d5f28ad9bbed6 (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 5 |
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): |