summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-06-23 19:02:38 +0000
committerJeremy Katz <katzj@redhat.com>2003-06-23 19:02:38 +0000
commitc8c0190205336f69c1a94f890a28a3e040565a97 (patch)
treee14cbf45307c02955d4e358dfb7e584026346953 /fsset.py
parentd1636e475e29facfa7c08db38d4845a9bfe682e7 (diff)
downloadanaconda-c8c0190205336f69c1a94f890a28a3e040565a97.tar.gz
anaconda-c8c0190205336f69c1a94f890a28a3e040565a97.tar.xz
anaconda-c8c0190205336f69c1a94f890a28a3e040565a97.zip
merge from taroon. highlights of this time around
* ppc boot constraints * md5 endianness * don't prompt to save tracebacks to a floppy without a floppy * autopart for kickstart * network configuration in the loader if vnc/display case
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/fsset.py b/fsset.py
index cbc4139ba..3fbf5b69d 100644
--- a/fsset.py
+++ b/fsset.py
@@ -755,6 +755,7 @@ class prepbootFileSystem(FileSystemType):
self.partedFileSystemType = None
self.checked = 0
self.name = "PPC PReP Boot"
+ self.maxSizeMB = 10
# supported for use on the pseries
if (iutil.getPPCMachine() == "pSeries" or
@@ -1078,9 +1079,15 @@ class FileSystemSet:
bootDev = entry.device
elif (iutil.getPPCMachine() == "pSeries" or
iutil.getPPCMachine() == "iSeries"):
+ # we want the first prep partition or the first newly formatted one
+ bestprep = None
for entry in self.entries:
- if entry.fsystem.getName() == "PPC PReP Boot":
- bootDev = entry.device
+ if ((entry.fsystem.getName() == "PPC PReP Boot")
+ and ((bestprep is None) or
+ ((bestprep.format == 0) and (entry.format == 1)))):
+ bestprep = entry
+ if bestprep:
+ bootDev = bestprep.device
elif iutil.getArch() == "ia64":
if mntDict.has_key("/boot/efi"):
bootDev = mntDict['/boot/efi']
@@ -1113,7 +1120,6 @@ class FileSystemSet:
N_("Apple Bootstrap"))
n = n + 1
return ret
- # FIXME: is this right?
elif (iutil.getPPCMachine() == "pSeries" or
iutil.getPPCMachine() == "iSeries"):
ret['boot'] = (bootDev.device, N_("PPC PReP Boot"))