FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 03-05-2012, 03:45 PM
David Cantrell
 
Default 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
 

Thread Tools




All times are GMT. The time now is 07:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org