diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-22 14:58:19 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-06-26 14:08:01 +0100 |
commit | 33d38aefb06f8849b46c5f9f6c1db73b4dccd985 (patch) | |
tree | 54fc0388a046fdd93371ccf6f9c6ee3021bab18b /scripts/lib/image | |
parent | 8425ef0a67aa5ca7b2dbf4c461004af555aa0c96 (diff) | |
download | openembedded-core-33d38aefb06f8849b46c5f9f6c1db73b4dccd985.tar.gz openembedded-core-33d38aefb06f8849b46c5f9f6c1db73b4dccd985.tar.bz2 openembedded-core-33d38aefb06f8849b46c5f9f6c1db73b4dccd985.zip |
wic: Add new argument to wic_create function
Added 'compressor' argument to wic_create to pass a name of
compressor utility to the wic engine.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib/image')
-rw-r--r-- | scripts/lib/image/engine.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index 29099ee0e6..047c40d908 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py @@ -179,7 +179,8 @@ def list_source_plugins(): def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, - native_sysroot, scripts_path, image_output_dir, debug): + native_sysroot, scripts_path, image_output_dir, + compressor, debug): """Create image wks_file - user-defined OE kickstart file @@ -189,6 +190,7 @@ def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, native_sysroot - absolute path to the build's native sysroots dir scripts_path - absolute path to /scripts dir image_output_dir - dirname to create for image + compressor - compressor utility to compress the image Normally, the values for the build artifacts values are determined by 'wic -e' from the output of the 'bitbake -e' command given an |