summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/imager
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/imager')
-rw-r--r--scripts/lib/wic/plugins/imager/direct.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index b93273e877..4ab195519a 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -198,11 +198,11 @@ class DirectPlugin(ImagerPlugin):
198 disk_name = self.parts[0].disk 198 disk_name = self.parts[0].disk
199 if source_plugin: 199 if source_plugin:
200 name = "do_install_disk" 200 name = "do_install_disk"
201 methods = PluginMgr.get_source_plugin_methods(source_plugin, 201 method = PluginMgr.get_plugin_methods('source', source_plugin,
202 {name: None}) 202 [name])[name]
203 methods["do_install_disk"](self._image, disk_name, self, self.workdir, 203 method(self._image, disk_name, self, self.workdir,
204 self.oe_builddir, self.bootimg_dir, 204 self.oe_builddir, self.bootimg_dir,
205 self.kernel_dir, self.native_sysroot) 205 self.kernel_dir, self.native_sysroot)
206 206
207 full_path = self._image.path 207 full_path = self._image.path
208 # Generate .bmap 208 # Generate .bmap