summaryrefslogtreecommitdiffstats
path: root/booty
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-26 17:25:42 -0400
committerChris Lumens <clumens@redhat.com>2009-04-01 10:34:41 -0400
commit7134501eac153dde2e86cd1606116dcd4007373c (patch)
treeec203b12963a9f99be040d9c2ba4053af1bbb84a /booty
parent744fa3382feee21adbbbd75b07dc3affe3e2b3e3 (diff)
downloadanaconda-7134501eac153dde2e86cd1606116dcd4007373c.tar.gz
anaconda-7134501eac153dde2e86cd1606116dcd4007373c.tar.xz
anaconda-7134501eac153dde2e86cd1606116dcd4007373c.zip
Look for a PReP "partition" by examining the format, not the flags (#492426).
Diffstat (limited to 'booty')
-rw-r--r--booty/ppc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/booty/ppc.py b/booty/ppc.py
index e87f69e84..c187149c1 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: