Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk/device_handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/disk/device_handler.py')
-rw-r--r--archinstall/lib/disk/device_handler.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archinstall/lib/disk/device_handler.py b/archinstall/lib/disk/device_handler.py
index 9646103f..4cb35c03 100644
--- a/archinstall/lib/disk/device_handler.py
+++ b/archinstall/lib/disk/device_handler.py
@@ -594,7 +594,9 @@ class DeviceHandler(object):
if is_subpath(mountpoint, base_mountpoint):
path = Path(part_info.disk.device.path)
part_mods.setdefault(path, [])
- part_mods[path].append(PartitionModification.from_existing_partition(part_info))
+ part_mod = PartitionModification.from_existing_partition(part_info)
+ part_mod.mountpoint = mountpoint.root / mountpoint.relative_to(base_mountpoint)
+ part_mods[path].append(part_mod)
break
device_mods: List[DeviceModification] = []