On PPC use only the boot disk in yaboot.conf (#753108)
Ack.
On Mon, Mar 05, 2012 at 03:05:45PM +0100, Martin Gracik wrote:
> If we have more disks with prepboot partition, we don't
> want them all in the yaboot.conf, just the one used in
> our installation.
> ---
> booty/ppc.py | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/booty/ppc.py b/booty/ppc.py
> index b8eeda7..6f62071 100644
> --- a/booty/ppc.py
> +++ b/booty/ppc.py
> @@ -15,7 +15,8 @@ class ppcBootloaderInfo(bootloaderInfo):
>
> if machine == 'pSeries':
> for dev in self.storage.fsset.devices:
> - if dev.format.type == "prepboot":
> + if (dev.format.type == "prepboot" and
> + dev.partedPartition.getFlag(parted.PARTITION_BOOT) ):
> retval.append(dev.path)
> elif machine == 'PMac':
> for dev in self.storage.fsset.devices:
> --
> 1.7.5.4
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
--
David Cantrell <dcantrell@redhat.com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list