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

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



Looks good,

Regards,

Hans




On 06/09/2009 07:51 PM, Chris Lumens wrote:
---
  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":


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