Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-06-13 10:37:30 +0200
committerAnton Hvornum <anton@hvornum.se>2021-06-13 10:37:30 +0200
commit9b6d7021a89116f09ad5324f19d7d08b9ec2856b (patch)
treeced4159a42f85a449c063d342f7b91dc3ee12a84 /archinstall/lib
parent8cc51cbcdc95de86385c570cf75b4ffaa746b4f1 (diff)
This fixes https://github.com/archlinux/archinstall/pull/426#discussion_r650372664
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/installer.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 91c55b33..b1e38dc6 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -125,10 +125,11 @@ class Installer:
return True
- def mount_ordered_layout(self, layout :dict):
+ def mount_ordered_layout(self, layouts :dict):
mountpoints = {}
- for partition in layout['partitions']:
- mountpoints[partition['mountpoint']] = partition['device_instance']
+ for blockdevice in layouts:
+ for partition in layouts[blockdevice]['partitions']:
+ mountpoints[partition['mountpoint']] = partition['device_instance']
for mountpoint in sorted(mountpoints.keys()):
mountpoints[mountpoint].mount(f"{self.target}{mountpoint}")