summaryrefslogtreecommitdiffstats
path: root/platform.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-06-09 13:50:53 -0400
committerChris Lumens <clumens@redhat.com>2009-06-10 09:38:10 -0400
commitcac1b732a6378ff9d17f56dd20b66a46a04bc998 (patch)
treef15b9424a7af3554c3b5f89a697159ecd2389e14 /platform.py
parentde9b37679720568fa72624875e7a3b40dc73a44f (diff)
downloadanaconda-cac1b732a6378ff9d17f56dd20b66a46a04bc998.tar.gz
anaconda-cac1b732a6378ff9d17f56dd20b66a46a04bc998.tar.xz
anaconda-cac1b732a6378ff9d17f56dd20b66a46a04bc998.zip
Be more explicit about what's lacking on EFI systems (#501341).
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":