summaryrefslogtreecommitdiffstats
path: root/bootloader.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-06-09 20:25:49 +0000
committerJeremy Katz <katzj@redhat.com>2006-06-09 20:25:49 +0000
commite16aec2d0892f391da7cfb8d2474602b5e924698 (patch)
tree4d2ada37c0599e306ef8f607cfff564364b3d61b /bootloader.py
parente22389a8eb7fbfbe81bac961bc86775ff7347205 (diff)
downloadanaconda-e16aec2d0892f391da7cfb8d2474602b5e924698.tar.gz
anaconda-e16aec2d0892f391da7cfb8d2474602b5e924698.tar.xz
anaconda-e16aec2d0892f391da7cfb8d2474602b5e924698.zip
2006-06-09 Jeremy Katz <katzj@redhat.com>
* partitions.py (Partitions.sanityCheckAllRequests): Sanity check to ensure /boot on the mactels is on one of the first 4 parts * partedUtils.py (DiskSet.savePartitions): Use gptsync to sync gpt->mbr on mactels (archLabels): Allow gpt on i386, x86_64 * bootloader.py (bootloaderSetupChoices): mactels need their bootloader on the partition.
Diffstat (limited to 'bootloader.py')
-rw-r--r--bootloader.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootloader.py b/bootloader.py
index e497fb0eb..a4f8cb33e 100644
--- a/bootloader.py
+++ b/bootloader.py
@@ -83,6 +83,8 @@ def bootloaderSetupChoices(anaconda):
log.warning("MBR not suitable as boot device; installing to partition")
anaconda.id.bootloader.defaultDevice = "boot"
anaconda.id.bootloader.setDevice(choices[anaconda.id.bootloader.defaultDevice][0])
+ elif choices and iutil.isMactel() and choices.has_key("boot"): # haccckkkk
+ anaconda.id.bootloader.setDevice(choices["boot"][0])
elif choices and choices.has_key("mbr"):
anaconda.id.bootloader.setDevice(choices["mbr"][0])
elif choices and choices.has_key("boot"):