diff options
-rw-r--r-- | scripts/lib/wic/engine.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/partition.py | 2 | ||||
-rw-r--r-- | scripts/lib/wic/plugin.py | 12 |
3 files changed, 2 insertions, 14 deletions
diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py index 98e7b9526e..4d0901d0fb 100644 --- a/scripts/lib/wic/engine.py +++ b/scripts/lib/wic/engine.py | |||
@@ -139,7 +139,7 @@ def list_source_plugins(): | |||
139 | """ | 139 | """ |
140 | List the available source plugins i.e. plugins available for --source. | 140 | List the available source plugins i.e. plugins available for --source. |
141 | """ | 141 | """ |
142 | plugins = PluginMgr.get_source_plugins() | 142 | plugins = PluginMgr.get_plugins('source') |
143 | 143 | ||
144 | for plugin in plugins: | 144 | for plugin in plugins: |
145 | print(" %s" % plugin) | 145 | print(" %s" % plugin) |
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index f8d4274bcd..d3cd5931f7 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
@@ -154,7 +154,7 @@ class Partition(): | |||
154 | break | 154 | break |
155 | return | 155 | return |
156 | 156 | ||
157 | plugins = PluginMgr.get_source_plugins() | 157 | plugins = PluginMgr.get_plugins('source') |
158 | 158 | ||
159 | if self.source not in plugins: | 159 | if self.source not in plugins: |
160 | raise WicError("The '%s' --source specified for %s doesn't exist.\n\t" | 160 | raise WicError("The '%s' --source specified for %s doesn't exist.\n\t" |
diff --git a/scripts/lib/wic/plugin.py b/scripts/lib/wic/plugin.py index 7632c3acd3..064243dc9d 100644 --- a/scripts/lib/wic/plugin.py +++ b/scripts/lib/wic/plugin.py | |||
@@ -109,18 +109,6 @@ class PluginMgr: | |||
109 | return pluginbase.get_plugins(ptype) | 109 | return pluginbase.get_plugins(ptype) |
110 | 110 | ||
111 | @classmethod | 111 | @classmethod |
112 | def get_source_plugins(cls): | ||
113 | """ | ||
114 | Return list of available source plugins. | ||
115 | """ | ||
116 | plugins_dir = cls._build_plugin_dir_list(cls.plugin_dir, 'source') | ||
117 | |||
118 | cls.append_dirs(plugins_dir) | ||
119 | |||
120 | return cls.get_plugins('source') | ||
121 | |||
122 | |||
123 | @classmethod | ||
124 | def get_source_plugin_methods(cls, source_name, methods): | 112 | def get_source_plugin_methods(cls, source_name, methods): |
125 | """ | 113 | """ |
126 | The methods param is a dict with the method names to find. On | 114 | The methods param is a dict with the method names to find. On |