diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-06-23 19:02:38 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-06-23 19:02:38 +0000 |
commit | c8c0190205336f69c1a94f890a28a3e040565a97 (patch) | |
tree | e14cbf45307c02955d4e358dfb7e584026346953 /installclasses/personal_desktop.py | |
parent | d1636e475e29facfa7c08db38d4845a9bfe682e7 (diff) | |
download | anaconda-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 'installclasses/personal_desktop.py')
-rw-r--r-- | installclasses/personal_desktop.py | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/installclasses/personal_desktop.py b/installclasses/personal_desktop.py index 564e4564a..caba6b4d8 100644 --- a/installclasses/personal_desktop.py +++ b/installclasses/personal_desktop.py @@ -3,7 +3,6 @@ from rhpl.translate import N_ from constants import * import os import iutil -from autopart import getAutopartitionBoot, autoCreatePartitionRequests from fsset import * class InstallClass(BaseInstallClass): @@ -37,19 +36,8 @@ class InstallClass(BaseInstallClass): def setInstallData(self, id): BaseInstallClass.setInstallData(self, id) - - autorequests = [ ("/", None, 1100, None, 1, 1) ] - - bootreq = getAutopartitionBoot() - if bootreq: - autorequests.append(bootreq) - - (minswap, maxswap) = iutil.swapSuggestion() - autorequests.append((None, "swap", minswap, maxswap, 1, 1)) - - id.partitions.autoClearPartType = CLEARPART_TYPE_LINUX - id.partitions.autoClearPartDrives = None - id.partitions.autoPartitionRequests = autoCreatePartitionRequests(autorequests) + BaseInstallClass.setDefaultPartitioning(self, id.partitions, + CLEARPART_TYPE_LINUX) def __init__(self, expert): BaseInstallClass.__init__(self, expert) |