diff options
author | Jeremy Katz <katzj@redhat.com> | 2008-03-18 13:40:14 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2008-03-18 13:40:56 -0400 |
commit | b52e31f978edd6159eeee87784c134e315b57361 (patch) | |
tree | eafc9011875fd90581b876ee73fa8415526fed42 /autopart.py | |
parent | 0af7118d1d9e1df878cdeee8bd47d17edc7a1b1c (diff) | |
download | anaconda-b52e31f978edd6159eeee87784c134e315b57361.tar.gz anaconda-b52e31f978edd6159eeee87784c134e315b57361.tar.xz anaconda-b52e31f978edd6159eeee87784c134e315b57361.zip |
Fix up ppc boot check (#438005)
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/autopart.py b/autopart.py index 983cf10c7..9b021317d 100644 --- a/autopart.py +++ b/autopart.py @@ -84,11 +84,10 @@ def bootRequestCheck(req, diskset): return bootAlphaCheckRequirements(part) elif (iutil.getPPCMachine() == "pSeries" or iutil.getPPCMachine() == "iSeries"): - for req in reqs: - part = partedUtils.get_partition_by_name(diskset.disks, req.device) - if part and ((part.geom.end * part.geom.dev.sector_size / - (1024.0 * 1024)) > 4096): - return BOOTIPSERIES_TOO_HIGH + part = partedUtils.get_partition_by_name(diskset.disks, req.device) + if part and ((part.geom.end * part.geom.dev.sector_size / + (1024.0 * 1024)) > 4096): + return BOOTIPSERIES_TOO_HIGH return PARTITION_SUCCESS |