summaryrefslogtreecommitdiffstats
path: root/platform.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform.py')
-rw-r--r--platform.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform.py b/platform.py
index 06690b75b..7e8e34f0b 100644
--- a/platform.py
+++ b/platform.py
@@ -109,7 +109,7 @@ class Platform(object):
errors = []
if not req:
- return [_("You have not created a boot partition.")]
+ return [_("You have not created a bootable partition.")]
if req.type == "mdarray" and req.level != 1:
errors.append(_("Bootable partitions can only be on RAID1 devices."))
@@ -214,6 +214,9 @@ class EFI(Platform):
return ret
def checkBootRequest(self, req):
+ if not req:
+ return [_("You have not created a /boot/efi partition.")]
+
errors = Platform.checkBootRequest(self, req)
if req.format.mountpoint == "/boot":