[firstboot 06/13] Use the new loader in moduleset

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

 



---
 firstboot/moduleset.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/firstboot/moduleset.py b/firstboot/moduleset.py
index e356288..04860e6 100644
--- a/firstboot/moduleset.py
+++ b/firstboot/moduleset.py
@@ -107,8 +107,11 @@ class ModuleSet:
            mode -- The mode of operation firstboot is running under.
         """
         if self.path is not None:
-            from firstboot.loader import loadModules
-            self.moduleList = loadModules(self.path, mode)
+            # XXX
+            reconfig = True if mode == MODE_RECONFIG else False
+
+            from firstboot.loader import load_modules
+            self.moduleList = load_modules(self.path, reconfig)
 
     def needsNetwork(self):
         """Does this module set require the network to be active in order to
-- 
1.7.3.2

_______________________________________________
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