[PATCH 3/5] Yaboot cannot find /boot if it is on a logical partition. (#725418)

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

 



---
 platform.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/platform.py b/platform.py
index 2291150..9904220 100644
--- a/platform.py
+++ b/platform.py
@@ -356,6 +356,16 @@ class PPC(Platform):
     def ppcMachine(self):
         return self._ppcMachine
 
+    def checkBootRequest(self, req):
+        errors = Platform.checkBootRequest(self, req)
+
+        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."))
+
+        return errors
+
 class IPSeriesPPC(PPC):
     _minBootPartSize = 4
     _maxBootPartSize = 10
-- 
1.7.7.6

_______________________________________________
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