summaryrefslogtreecommitdiffstats
path: root/platform.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-09-29 09:36:30 -0400
committerChris Lumens <clumens@redhat.com>2009-09-29 09:40:31 -0400
commitaa175a694d7df6717d9daf63963196c7fa6d1419 (patch)
tree52e17e1493b5c0f49901224a39876f4dea47fa58 /platform.py
parent0f6f4197478f2e11e380be92743f8bd211741694 (diff)
downloadanaconda-aa175a694d7df6717d9daf63963196c7fa6d1419.tar.gz
anaconda-aa175a694d7df6717d9daf63963196c7fa6d1419.tar.xz
anaconda-aa175a694d7df6717d9daf63963196c7fa6d1419.zip
Don't check if /boot is under the 4MB mark on i/p Series (#526200).
Diffstat (limited to 'platform.py')
-rw-r--r--platform.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/platform.py b/platform.py
index 37b3796da..38a71850d 100644
--- a/platform.py
+++ b/platform.py
@@ -330,12 +330,13 @@ class IPSeriesPPC(PPC):
if not bootPart:
return errors
- if bootPart.geometry.end * bootPart.geometry.device.sectorSize / (1024.0 * 1024) > 4096:
- errors.append(_("The boot partition must be within the first 4MB of the disk."))
-
# All of the above just checks the PPC PReP boot partitions. We still
# need to make sure that whatever /boot is on also meets these criteria.
if req == self.bootDevice():
+ # However, this check only applies to prepboot.
+ if bootPart.geometry.end * bootPart.geometry.device.sectorSize / (1024.0 * 1024) > 4096:
+ errors.append(_("The boot partition must be within the first 4MB of the disk."))
+
try:
req = self.anaconda.id.storage.mountpoints["/boot"]
except KeyError: