Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/menu')
-rw-r--r--archinstall/lib/menu/global_menu.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archinstall/lib/menu/global_menu.py b/archinstall/lib/menu/global_menu.py
index 3ffb6f15..a758d8c6 100644
--- a/archinstall/lib/menu/global_menu.py
+++ b/archinstall/lib/menu/global_menu.py
@@ -206,8 +206,9 @@ class GlobalMenu(GeneralMenu):
for blockdevice in storage['arguments']['disk_layouts']:
if storage['arguments']['disk_layouts'][blockdevice].get('partitions'):
for partition_index in select_encrypted_partitions(
- title="Select which partitions to encrypt:",
- partitions=storage['arguments']['disk_layouts'][blockdevice]['partitions']
+ title=_('Select which partitions to encrypt:'),
+ partitions=storage['arguments']['disk_layouts'][blockdevice]['partitions'],
+ filter_=(lambda p: p['mountpoint'] != '/boot')
):
partition = storage['arguments']['disk_layouts'][blockdevice]['partitions'][partition_index]