[PATCH 5/7] anaconda: livecd.py: invoke resize2fs earlier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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):

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux