We do filesystem shrinking, then commit the partition table, and then
filesystem growing so that the container for the filesystem is always as large
or larger than the filesystem
---
packages.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/packages.py b/packages.py
index bbf2b8c..99f9a38 100644
--- a/packages.py
+++ b/packages.py
@@ -148,8 +148,10 @@ def turnOnFilesystems(anaconda):
searchPath = 1)
anaconda.id.partitions.doMetaDeletes(anaconda.id.d iskset)
anaconda.id.fsset.setActive(anaconda.id.diskset)
+ anaconda.id.fsset.shrinkFilesystems(anaconda.rootP ath)
if not anaconda.id.fsset.isActive():
anaconda.id.diskset.savePartitions ()
+ anaconda.id.fsset.growFilesystems(anaconda.rootPat h)
if not anaconda.id.fsset.volumesCreated:
anaconda.id.fsset.createLogicalVolumes(anaconda.ro otPath)
anaconda.id.fsset.formatSwap(anaconda.rootPath)
--
1.5.3.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list