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

[PATCH 1/2] Make sure devices ignored by the devicetree are in _ignoredDisks.



Related: rhbz#559973
---
 pyanaconda/storage/devicetree.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index f6bfa5c..42ae164 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -879,6 +879,9 @@ class DeviceTree(object):
 
         if self.isIgnored(info):
             log.debug("ignoring %s (%s)" % (name, sysfs_path))
+            if name not in self._ignoredDisks:
+                self.addIgnoredDisk(name)
+
             if udev_device_is_multipath_member(info):
                 # last time we are seeing this mpath member is now, so make sure
                 # LVM ignores its partitions too else a duplicate VG name could
-- 
1.7.2.3


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