This set contains fixes for a few specifig bug reports and for several
bugs encountered while adding UI support for encrypted block devices.
pyanaconda/bootloader.py | 2 +-
pyanaconda/storage/__init__.py | 5 ++-
pyanaconda/ui/gui/spokes/custom.glade | 53 ++++++++++++++++++++++++++++-----
pyanaconda/ui/gui/spokes/custom.py | 8 ++++-
pyanaconda/ui/gui/spokes/storage.py | 11 +++++--
scripts/makeupdates | 12 ++++---
6 files changed, 72 insertions(+), 19 deletions(-)
New subject: [PATCH 8/9] Revert broken logic for newly formatted devices in unusedDevices.
If the device's formatting does not exist that necessarily means
the device is in use.
---
pyanaconda/storage/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index 545685f..4cfbc80 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -485,7 +485,7 @@ class Storage(object):
used_devices = []
for root in self.roots:
for device in root.mounts.values() + root.swaps:
- if device not in self.devices or not device.format.exists:
+ if device not in self.devices:
continue
used_devices.extend(device.ancestors)
--
1.7.7.6
New subject: [PATCH 9/9] Pull in existing swaps and bootloader devices whenever there are mounts.
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