[PATCH 4/5] Don't load modules except in installer mode. (#1015067)

David Lehman dlehman at redhat.com
Mon Oct 14 17:44:22 UTC 2013


---
 blivet/formats/fs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index 13896c9..f9b54b1 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -165,7 +165,7 @@ class FS(DeviceFormat):
 
         self._targetSize = self._size
 
-        if self.supported:
+        if self.supported and flags.installer_mode:
             self.loadModule()
 
     def __repr__(self):
-- 
1.8.1.4



More information about the anaconda-patches mailing list