summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ogcp/views.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 056c3e5..d02359b 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -648,6 +648,10 @@ def action_setup_modify():
if partition.part_type.data == 'CACHE':
cache_count += 1
+ if partition.part_type.data == 'EFI' and partition.fs.data != 'FAT32':
+ flash(_('The EFI partition requires a FAT32 filesystem'), category='error')
+ return redirect(url_for('commands'))
+
if cache_count == 0:
flash(_(f'Missing cache partition'), category='error')
return redirect(url_for('commands'))