summaryrefslogtreecommitdiff
path: root/scripts/lib/image
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-22 15:15:22 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-26 14:08:01 +0100
commit34c583274c2908351e3a84dd629302f1975f2f0d (patch)
treeecad790d22619b0b15dba00a72b091e7df2f89e3 /scripts/lib/image
parent33d38aefb06f8849b46c5f9f6c1db73b4dccd985 (diff)
downloadopenembedded-core-34c583274c2908351e3a84dd629302f1975f2f0d.tar.gz
openembedded-core-34c583274c2908351e3a84dd629302f1975f2f0d.tar.bz2
openembedded-core-34c583274c2908351e3a84dd629302f1975f2f0d.zip
wic: Add new argument to direct plugin
Added 'compressor' argument to Direct plugin API to pass a name of compressor utility. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib/image')
-rw-r--r--scripts/lib/image/engine.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py
index 047c40d908..d5c34b4611 100644
--- a/scripts/lib/image/engine.py
+++ b/scripts/lib/image/engine.py
@@ -217,6 +217,7 @@ def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
sys.exit(1)
direct_args = list()
+ direct_args.insert(0, compressor or "")
direct_args.insert(0, oe_builddir)
direct_args.insert(0, image_output_dir)
direct_args.insert(0, wks_file)