Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Ankarloo <hugo@ilait.se>2021-09-20 19:58:56 +0200
committerHugo Ankarloo <hugo@ilait.se>2021-09-20 19:58:56 +0200
commitffbfafb35428168366de3ced572f648c6d49dc03 (patch)
tree2214e17f82b108c687a1e22ac59e5c03d76bfe4f
parentd2d80113b3c6a337097b407674f67b84cc14c82a (diff)
Fix Bug: config b0rked by Suggest partition layout
File: lib/user_interaction.py When function manage_new_and_existing_partitions() is used, and 'Suggest partition layout' is selected, the partition info is not correctly stored in the config. Instead of: {"partitions": [{...}, {...}]} You get: {"partitions": {"partitions": [{...}, {...}], "wipe":True}}
-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 b017e41a..66dd3350 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["partitions"] = suggest_single_disk_layout(block_device)[block_device]
+ block_device_struct.update( suggest_single_disk_layout(block_device)[block_device] )
elif task is None:
return block_device_struct
else: