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 > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 03-05-2012, 01:05 PM
Martin Gracik
 
Default On PPC use only the boot disk in yaboot.conf (#753108)

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
 

Thread Tools




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

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