[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 1/2] Look for a PReP "partition" by examining the format, not the flags (#492426).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH 1/2] Look for a PReP "partition" by examining the format, not the flags (#492426).
- Date: Tue, 31 Mar 2009 16:30:12 -0400
---
booty/ppc.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/booty/ppc.py b/booty/ppc.py
index e87f69e..c187149 100644
--- a/booty/ppc.py
+++ b/booty/ppc.py
@@ -16,11 +16,11 @@ class ppcBootloaderInfo(bootloaderInfo):
if machine == 'pSeries':
for dev in self.storage.fsset.devices:
- if dev.partedFlags[parted.PARTITION_PREP] and not dev.format.exists:
+ if dev.format.type == "prepboot":
retval.append(dev.path)
elif machine == 'PMac':
for dev in self.storage.fsset.devices:
- if dev.format.type == "hfs" and dev.format.bootable and not dev.format.exists:
+ if dev.format.type == "hfs" and dev.format.bootable:
retval.append(dev.path)
if len(retval) == 0:
--
1.6.1.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]