diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-04 01:26:59 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-04 01:26:59 +0000 |
commit | 4814536cb4a3b5e385cc7904ac1f4853f7cc1f82 (patch) | |
tree | eb89ef80c173a200e1e5f054ec0415baca7231c1 /textw/partmethod_text.py | |
parent | 80aeb81504ff08479288702aa3693cba88d30131 (diff) | |
download | anaconda-4814536cb4a3b5e385cc7904ac1f4853f7cc1f82.tar.gz anaconda-4814536cb4a3b5e385cc7904ac1f4853f7cc1f82.tar.xz anaconda-4814536cb4a3b5e385cc7904ac1f4853f7cc1f82.zip |
Move the partitioning bits into Partitions object. The diskset should probably
go in here at some point, and arguably the fsset as well, but that should be
able to be done without major upheaval. Major changes to note:
* id.partitions created
* PartitionRequest object folded into Partitions
* all of the various autopartitioning variables folded into Partitions
* avoid passing just instdata as much as possible
other minor fixes which are slipping into this commit
* /usr for server install size to 800 megs... 512 is too small :(
* kickstart bootloader fix
* fix a couple places to use convenience functions instead of part.geom.disk.dev.path
* set self.intf for gui autopartitioning so message window works
Diffstat (limited to 'textw/partmethod_text.py')
-rw-r--r-- | textw/partmethod_text.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/textw/partmethod_text.py b/textw/partmethod_text.py index d8243bdb1..434f35448 100644 --- a/textw/partmethod_text.py +++ b/textw/partmethod_text.py @@ -19,7 +19,7 @@ from translate import _, cat, N_ from constants_text import * class PartitionMethod: - def __call__(self, screen, id): + def __call__(self, screen, partitions): rc = ButtonChoiceWindow(screen, _("Disk Setup"), _("Autopartitioning sets up your partitioning in a reasonable " "way depending on your installation type and then gives you a " @@ -39,13 +39,13 @@ class PartitionMethod: if rc == TEXT_BACK_CHECK: return INSTALL_BACK elif rc == "fd": - id.useAutopartitioning = 0 - id.useFdisk = 1 + partitions.useAutopartitioning = 0 + partitions.useFdisk = 1 elif rc == "ds": - id.useAutopartitioning = 0 - id.useFdisk = 0 + partitions.useAutopartitioning = 0 + partitions.useFdisk = 0 else: - id.useAutopartitioning = 1 - id.useFdisk = 0 + partitions.useAutopartitioning = 1 + partitions.useFdisk = 0 return INSTALL_OK |