summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/engine.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/engine.py')
-rw-r--r--scripts/lib/wic/engine.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py
index e27598d01a..1aa8f6534e 100644
--- a/scripts/lib/wic/engine.py
+++ b/scripts/lib/wic/engine.py
@@ -145,8 +145,8 @@ def list_source_plugins():
145 print(" %s" % plugin) 145 print(" %s" % plugin)
146 146
147 147
148def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, native_sysroot, 148def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
149 scripts_path, options): 149 native_sysroot, options):
150 """ 150 """
151 Create image 151 Create image
152 152
@@ -155,7 +155,6 @@ def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, native_sysroot,
155 bootimg_dir - absolute path to the build's boot artifacts directory 155 bootimg_dir - absolute path to the build's boot artifacts directory
156 kernel_dir - absolute path to the build's kernel directory 156 kernel_dir - absolute path to the build's kernel directory
157 native_sysroot - absolute path to the build's native sysroots dir 157 native_sysroot - absolute path to the build's native sysroots dir
158 scripts_path - absolute path to /scripts dir
159 image_output_dir - dirname to create for image 158 image_output_dir - dirname to create for image
160 options - wic command line options (debug, bmap, etc) 159 options - wic command line options (debug, bmap, etc)
161 160
@@ -195,7 +194,7 @@ def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, native_sysroot,
195 msger.error('Unknown plugin: %s' % pname) 194 msger.error('Unknown plugin: %s' % pname)
196 195
197 plugin = plugin_class(wks_file, rootfs_dir, bootimg_dir, kernel_dir, 196 plugin = plugin_class(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
198 native_sysroot, scripts_path, oe_builddir, options) 197 native_sysroot, oe_builddir, options)
199 198
200 plugin.do_create() 199 plugin.do_create()
201 200