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

[PATCH] Fix sense of test to identify /boot versus PReP.



Related: rhbz#725418
---
 platform.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/platform.py b/platform.py
index 0ce3b70..bffa73a 100644
--- a/platform.py
+++ b/platform.py
@@ -365,7 +365,7 @@ class PPC(Platform):
     def checkBootRequest(self, req):
         errors = Platform.checkBootRequest(self, req)
 
-        if req == self.bootDevice():
+        if req != self.bootDevice():
             # yaboot cannot find /boot on a logical partition
             if hasattr(req, "partedPartition") and req.isLogical:
                 errors.append(_("The boot partition must be a primary partition."))
-- 
1.7.6


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