[master/rhel7-branch][PATCH] Create free space snapshot before doing custom->autopart
Vratislav Podzimek
vpodzime at redhat.com
Fri Sep 12 12:28:02 UTC 2014
Free space snapshot is used by autopart to determine the recommended swap
space for the system.
This fixes a regression caused by commit
5ffad793fdf2ce779351bccfb02b7c5be9f478c8.
Related: rhbz#1132436
Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
---
pyanaconda/ui/gui/spokes/custom.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 44b7943..b23ade3 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -2186,6 +2186,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
self._storage_playground.doAutoPart = True
self.clear_errors()
try:
+ self._storage_playground.createFreeSpaceSnapshot()
# doAutoPartitions needs stage1_disk setup so it will reuse existing partitions
self._storage_playground.setUpBootLoader(early=True)
--
1.9.3
More information about the anaconda-patches
mailing list