[PATCH 9/9] Pull in existing swaps and bootloader devices whenever there are mounts.
David Lehman
dlehman at redhat.com
Thu Oct 4 14:47:19 UTC 2012
Not just when we have old devices set up as mounts.
---
pyanaconda/ui/gui/spokes/custom.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index e884504..7bb6bf0 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -597,7 +597,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# and pull those in along with any existing swap devices. It doesn't
# matter if the formats being mounted exist or not.
new_mounts = [d for d in self.__storage.mountpoints.values() if d.exists]
- if new_mounts:
+ if new_mounts or new_devices:
new_devices.extend(self.__storage.mountpoints.values())
new_devices.extend(self.existingSwaps)
new_devices.extend(self.existingBootLoaderDevices)
--
1.7.7.6
More information about the anaconda-patches
mailing list