Note this patch is also intended for rhel6-branch, where it fixes #531722. I'll amend the commit mesg for rhel6-branch after cherry picking to show the right bz nr. --- booty/ppc.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/booty/ppc.py b/booty/ppc.py index a640344..5796f5b 100644 --- a/booty/ppc.py +++ b/booty/ppc.py @@ -57,6 +57,11 @@ class ppcBootloaderInfo(bootloaderInfo): cfPath = "/boot" cf = "/etc/yaboot.conf" + if bootDev.type == "mdarray": + partNumber = bootDev.parents[0].partedPartition.number + else: + partNumber = bootDev.partedPartition.number + f = open(instRoot + cf, "w+") f.write("# yaboot.conf generated by anaconda\n\n") @@ -64,7 +69,7 @@ class ppcBootloaderInfo(bootloaderInfo): f.write("init-message=\"Welcome to %s!\\nHit <TAB> for boot options\"\n\n" % productName) - f.write("partition=%s\n" % bootDev.partedPartition.number) + f.write("partition=%s\n" % partNumber) f.write("timeout=%s\n" % (self.timeout or 80)) f.write("install=/usr/lib/yaboot/yaboot\n") f.write("delay=5\n") -- 1.7.0.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list