[PATCH 2/2] DMRaidArray: Don't report no media present when in teared down state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch is intended for both F-12 and the devel branch.
---
 storage/devices.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index b16f3e5..c0d8197 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2684,6 +2684,11 @@ class DMRaidArrayDevice(DiskDevice):
         # information about it
         self._size = self.currentSize
 
+    @property
+    def mediaPresent(self):
+        # Even if teared down we still want to show up in storage.disks
+        return True
+
 class _MultipathDeviceNameGenerator:
     def __init__(self):
         self.number = 0
-- 
1.6.5.rc2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux