summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-09-17 18:32:38 +0000
committerJeremy Katz <katzj@redhat.com>2007-09-17 18:32:38 +0000
commitd7c51ebae16fcddde90f6f8c4ad169cea4da0a02 (patch)
treedb4d8b9df99bc7fb462946d5a02c39dee42bd457 /livecd.py
parent292450c3f2e9f3c2a68a12f55029688627da14e2 (diff)
downloadanaconda-d7c51ebae16fcddde90f6f8c4ad169cea4da0a02.tar.gz
anaconda-d7c51ebae16fcddde90f6f8c4ad169cea4da0a02.tar.xz
anaconda-d7c51ebae16fcddde90f6f8c4ad169cea4da0a02.zip
(LiveCDCopyBackend._doFilesystemMangling): Resize filesystem
earlier (Douglas McClendon)
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/livecd.py b/livecd.py
index ebbc74654..606723825 100644
--- a/livecd.py
+++ b/livecd.py
@@ -201,6 +201,9 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
wait = anaconda.intf.waitWindow(_("Doing post-installation"),
_("Performing post-installation filesystem changes. This may take several minutes..."))
+ # resize rootfs first, since it is 100% full due to genMinInstDelta
+ self._resizeRootfs(anaconda, wait)
+
# remount filesystems
anaconda.id.fsset.mountFilesystems(anaconda)
@@ -277,7 +280,6 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
log.error("error mounting selinuxfs: %s" %(e,))
isys.mount("/dev", "%s/dev" %(anaconda.rootPath,), bindMount = 1)
- self._resizeRootfs(anaconda, wait)
wait.pop()
def _resizeRootfs(self, anaconda, win = None):