Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2023-10-15 03:26:34 -0400
committerGitHub <noreply@github.com>2023-10-15 09:26:34 +0200
commit07b0bb18351c5fec332fc27808f9c51996acbae1 (patch)
tree7033b0a1fe12ecdf8fc48dabbd22f81b720c6223
parent3c2ed1c121f0cbe6340753f50e5c58b83675990b (diff)
Fix `MOUNT_POINT` for pre-mounted disk configuration (#2168)
-rw-r--r--archinstall/lib/interactions/disk_conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archinstall/lib/interactions/disk_conf.py b/archinstall/lib/interactions/disk_conf.py
index c18119ec..bf24a22c 100644
--- a/archinstall/lib/interactions/disk_conf.py
+++ b/archinstall/lib/interactions/disk_conf.py
@@ -11,6 +11,7 @@ from ..menu import TableMenu
from ..menu.menu import MenuSelectionType
from ..output import FormattedOutput, debug
from ..utils.util import prompt_dir
+from ..storage import storage
if TYPE_CHECKING:
_: Any
@@ -140,6 +141,8 @@ def select_disk_config(
return preset
mods = disk.device_handler.detect_pre_mounted_mods(path)
+ storage['MOUNT_POINT'] = Path(path)
+
return disk.DiskLayoutConfiguration(
config_type=disk.DiskLayoutType.Pre_mount,
device_modifications=mods