[PATCH] Be more explicit about what's lacking on EFI systems (#501341).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 platform.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/platform.py b/platform.py
index 06690b7..7e8e34f 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":
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux