[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH 5/7] anaconda: livecd.py: invoke resize2fs earlier
- From: Douglas McClendon <dmc fedora filteredperception org>
- To: fedora-livecd-list redhat com, Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Cc:
- Subject: [PATCH 5/7] anaconda: livecd.py: invoke resize2fs earlier
- Date: Mon, 17 Sep 2007 12:31:53 -0500
even if turboLiveInst/genMinInstDelta didn't depend on this, it is not a
bad idea to move resize2fs earlier in the anaconda livecd backend.
Though practically, this is entirely for the benefit of turboLiveInst.
diff -Naur anaconda.4.getLiveSizeMB_use_dumpe2fs/livecd.py anaconda.5.earlier_resize2fs/livecd.py
--- anaconda.4.getLiveSizeMB_use_dumpe2fs/livecd.py 2007-09-17 17:02:18.000000000 +0000
+++ anaconda.5.earlier_resize2fs/livecd.py 2007-09-17 17:06:00.000000000 +0000
@@ -214,6 +214,9 @@
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)
@@ -290,7 +293,6 @@
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):
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]