[anaconda][PATCH 1/2] Skip devices not controllable by blivet (#1009809)

David Shea dshea at redhat.com
Tue Sep 24 13:37:24 UTC 2013


---
 pyanaconda/image.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pyanaconda/image.py b/pyanaconda/image.py
index 5fe3833..9049be9 100644
--- a/pyanaconda/image.py
+++ b/pyanaconda/image.py
@@ -193,6 +193,9 @@ def opticalInstallMedia(devicetree, mountpoint=INSTALL_TREE):
     # created from ISO images.
     for dev in set(devicetree.getDevicesByType("cdrom") + \
             [d for d in devicetree.devices if d.format.type == "iso9660"]):
+        if not dev.controllable:
+            continue
+
         devicetree.updateDeviceFormat(dev)
         if not hasattr(dev.format, "mount"):
             # no mountable media
-- 
1.8.3.1



More information about the anaconda-patches mailing list