Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/user_interaction.py
diff options
context:
space:
mode:
authorHugo Ankarloo <hugo@ilait.se>2021-09-21 00:38:20 +0200
committerHugo Ankarloo <hugo@ilait.se>2021-09-21 00:38:20 +0200
commit5bcbb50936690deff12a085634215c2d4f42f38c (patch)
treea863f58a9f9d3f1ac6029785b8bffbda2bf1f6c5 /archinstall/lib/user_interaction.py
parente71a41377d2d97fce98afc4f64ed5f1caa830ec9 (diff)
Fix Bug: 'Suggest partition layout' crashes
File: lib/user_interaction.py When function manage_new_and_existing_partitions() is used, and 'Suggest partition layout' is selected, the installer crashes. REASON Bug was introduced in commit 9e67ce3, when partition layout was changed to use device.path as keys (instead of device). It seems all necessary changes were made for this, except this one.
Diffstat (limited to 'archinstall/lib/user_interaction.py')
-rw-r--r--archinstall/lib/user_interaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index be74f9b9..ba6259b1 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -674,7 +674,7 @@ def manage_new_and_existing_partitions(block_device :BlockDevice) -> dict:
if input(f"{block_device} contains queued partitions, this will remove those, are you sure? y/N: ").strip().lower() in ('', 'n'):
continue
- block_device_struct.update( suggest_single_disk_layout(block_device)[block_device] )
+ block_device_struct.update( suggest_single_disk_layout(block_device)[block_device.path] )
elif task is None:
return block_device_struct
else: