diff options
author | Jeremy Katz <katzj@redhat.com> | 2007-11-28 17:03:38 -0500 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2007-11-29 16:12:01 -0500 |
commit | eaa319461a2b8bc8a717e4ef75e776148d13faf5 (patch) | |
tree | b61d35dc1fbc22df02b28de9a10060302f34fd81 /partitions.py | |
parent | 6b890e2d83b8f15abf697a3d5bb0a321dad47b44 (diff) | |
download | anaconda-eaa319461a2b8bc8a717e4ef75e776148d13faf5.tar.gz anaconda-eaa319461a2b8bc8a717e4ef75e776148d13faf5.tar.xz anaconda-eaa319461a2b8bc8a717e4ef75e776148d13faf5.zip |
Apply partitioning changes immediately after the partitioning step.
With resizing, we're going to want sooner feedback so move the applying
of partitioning changes to immediately after the partitioning step. This
lets us also remove the early swap-on logic.
Still need to put up some scarier warnings about what's going to happen for
people
Diffstat (limited to 'partitions.py')
-rw-r--r-- | partitions.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/partitions.py b/partitions.py index 3db248d47..ba5b103d8 100644 --- a/partitions.py +++ b/partitions.py @@ -101,30 +101,6 @@ def partitioningComplete(anaconda): raise RuntimeError, ("Managed to not get an entry back from " "request.toEntry") - if (not flags.setupFilesystems - or iutil.memAvailable() > isys.EARLY_SWAP_RAM): - return - - if not anaconda.isKickstart: - rc = anaconda.intf.messageWindow(_("Low Memory"), - _("As you don't have much memory in this " - "machine, we need to turn on swap space " - "immediately. To do this we'll have to " - "write your new partition table to the disk " - "immediately. Is that OK?"), "yesno") - else: - rc = 1 - - if rc: - anaconda.id.partitions.doMetaDeletes(anaconda.id.diskset) - anaconda.id.fsset.setActive(anaconda.id.diskset) - anaconda.id.diskset.savePartitions () - anaconda.id.fsset.createLogicalVolumes(anaconda.rootPath) - anaconda.id.fsset.formatSwap(anaconda.rootPath) - anaconda.id.fsset.turnOnSwap(anaconda.rootPath) - - return - class Partitions: """Defines all of the partition requests and delete requests.""" |