[PATCH] Remove unresolvable file devices from the devicetree. (#503830)

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

 



---
 storage/__init__.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/storage/__init__.py b/storage/__init__.py
index efd21a0..18c7645 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1541,6 +1541,8 @@ class FSSet(object):
                     log.error("cannot determine which device contains "
                               "directory %s" % device.path)
                     device.parents = []
+                    self.devicetree._removeDevice(device)
+                    continue
                 else:
                     device.parents = [parent]
 
@@ -1616,6 +1618,8 @@ class FSSet(object):
                     log.error("cannot determine which device contains "
                               "directory %s" % device.path)
                     device.parents = []
+                    self.devicetree._removeDevice(device)
+                    continue
                 else:
                     device.parents = [parent]
 
-- 
1.6.0.6

_______________________________________________
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