[PATCH 2/2] Disks with new disklabels don't count as new devices in custom.

David Lehman dlehman at redhat.com
Wed Sep 26 18:25:49 UTC 2012


---
 pyanaconda/ui/gui/spokes/custom.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index 7e1a3e8..e21012a 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -588,7 +588,8 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
         # Now it's time to populate the accordion.
 
         # A device scheduled for formatting only belongs in the new root.
-        new_devices = [d for d in self._devices if not d.format.exists]
+        new_devices = [d for d in self._devices if not d.format.exists and
+                                                   not d.partitioned]
 
         # If mountpoints have been assigned to any existing devices, go ahead
         # and pull those in along with any existing swap devices. It doesn't
-- 
1.7.7.6



More information about the anaconda-patches mailing list