diff options
author | Matt Wilson <msw@redhat.com> | 2002-11-01 19:56:30 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2002-11-01 19:56:30 +0000 |
commit | 4aa5f1225420e510ec9a7651c16599e5c223d4a3 (patch) | |
tree | 6c26b84860943c389ec0501298179961e8be20c0 /bootloader.py | |
parent | 69b2af6c3e8938bcbb8187b534b997d08ce15cb3 (diff) | |
download | anaconda-4aa5f1225420e510ec9a7651c16599e5c223d4a3.tar.gz anaconda-4aa5f1225420e510ec9a7651c16599e5c223d4a3.tar.xz anaconda-4aa5f1225420e510ec9a7651c16599e5c223d4a3.zip |
port to parted 1.6.x
Diffstat (limited to 'bootloader.py')
-rw-r--r-- | bootloader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader.py b/bootloader.py index e834fb5ce..aaa45a285 100644 --- a/bootloader.py +++ b/bootloader.py @@ -60,7 +60,7 @@ def bootloaderSetupChoices(dispatch, bl, fsset, diskSet, dir): bootDev = fsset.getEntryByMountPoint("/boot") part = partedUtils.get_partition_by_name(diskSet.disks, bootDev.device.getDevice()) - if part and partedUtils.end_sector_to_cyl(part.geom.disk.dev, + if part and partedUtils.end_sector_to_cyl(part.geom.dev, part.geom.end) >= 1024: bl.above1024 = 1 |