[PATCH 05/10] Don't look for existing installations on live devices.

Chris Lumens clumens at redhat.com
Tue Aug 28 18:54:00 UTC 2012


Or really, any devices we can't actually use.
---
 pyanaconda/storage/__init__.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index e14bb26..c200933 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -2862,7 +2862,8 @@ def findExistingInstallations(devicetree):
 
     roots = []
     for device in devicetree.leaves:
-        if not device.format.linuxNative or not device.format.mountable:
+        if not device.format.linuxNative or not device.format.mountable or \
+           not device.controllable:
             continue
 
         try:
-- 
1.7.11.2



More information about the anaconda-patches mailing list