summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/pluginbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/pluginbase.py')
-rw-r--r--scripts/lib/wic/pluginbase.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/lib/wic/pluginbase.py b/scripts/lib/wic/pluginbase.py
index 6d96de2be5..ee8fe95c6f 100644
--- a/scripts/lib/wic/pluginbase.py
+++ b/scripts/lib/wic/pluginbase.py
@@ -51,7 +51,7 @@ class SourcePlugin(_Plugin):
51 """ 51 """
52 52
53 @classmethod 53 @classmethod
54 def do_install_disk(cls, disk, disk_name, cr, workdir, oe_builddir, 54 def do_install_disk(cls, disk, disk_name, creator, workdir, oe_builddir,
55 bootimg_dir, kernel_dir, native_sysroot): 55 bootimg_dir, kernel_dir, native_sysroot):
56 """ 56 """
57 Called after all partitions have been prepared and assembled into a 57 Called after all partitions have been prepared and assembled into a
@@ -61,7 +61,7 @@ class SourcePlugin(_Plugin):
61 msger.debug("SourcePlugin: do_install_disk: disk: %s" % disk_name) 61 msger.debug("SourcePlugin: do_install_disk: disk: %s" % disk_name)
62 62
63 @classmethod 63 @classmethod
64 def do_stage_partition(cls, part, source_params, cr, cr_workdir, 64 def do_stage_partition(cls, part, source_params, creator, cr_workdir,
65 oe_builddir, bootimg_dir, kernel_dir, 65 oe_builddir, bootimg_dir, kernel_dir,
66 native_sysroot): 66 native_sysroot):
67 """ 67 """
@@ -78,7 +78,7 @@ class SourcePlugin(_Plugin):
78 msger.debug("SourcePlugin: do_stage_partition: part: %s" % part) 78 msger.debug("SourcePlugin: do_stage_partition: part: %s" % part)
79 79
80 @classmethod 80 @classmethod
81 def do_configure_partition(cls, part, source_params, cr, cr_workdir, 81 def do_configure_partition(cls, part, source_params, creator, cr_workdir,
82 oe_builddir, bootimg_dir, kernel_dir, 82 oe_builddir, bootimg_dir, kernel_dir,
83 native_sysroot): 83 native_sysroot):
84 """ 84 """
@@ -89,7 +89,7 @@ class SourcePlugin(_Plugin):
89 msger.debug("SourcePlugin: do_configure_partition: part: %s" % part) 89 msger.debug("SourcePlugin: do_configure_partition: part: %s" % part)
90 90
91 @classmethod 91 @classmethod
92 def do_prepare_partition(cls, part, source_params, cr, cr_workdir, 92 def do_prepare_partition(cls, part, source_params, creator, cr_workdir,
93 oe_builddir, bootimg_dir, kernel_dir, rootfs_dir, 93 oe_builddir, bootimg_dir, kernel_dir, rootfs_dir,
94 native_sysroot): 94 native_sysroot):
95 """ 95 """
@@ -99,9 +99,9 @@ class SourcePlugin(_Plugin):
99 msger.debug("SourcePlugin: do_prepare_partition: part: %s" % part) 99 msger.debug("SourcePlugin: do_prepare_partition: part: %s" % part)
100 100
101def get_plugins(typen): 101def get_plugins(typen):
102 ps = ImagerPlugin.get_plugins() 102 plugins = ImagerPlugin.get_plugins()
103 if typen in ps: 103 if typen in plugins:
104 return ps[typen] 104 return plugins[typen]
105 else: 105 else:
106 return None 106 return None
107 107