aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-22 14:42:37 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-26 14:08:01 +0100
commit8425ef0a67aa5ca7b2dbf4c461004af555aa0c96 (patch)
treedd8db5d027371f5256f68a261ba724de136df621 /scripts/lib
parentecdfdd7286a2f406655577f2c4d6fcf3fe3de429 (diff)
downloadopenembedded-core-contrib-8425ef0a67aa5ca7b2dbf4c461004af555aa0c96.tar.gz
wic: Add --compress-with command line option
Added -c/--compress-with command line option to 'wic create' subcommand. This option is used to specify compressor utility to compress the image produced by wic. gzip, bzip2 and xz compressors are supported in this implementation. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/image/help.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index fe66548f0f..c8b2fab6d8 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -152,6 +152,7 @@ SYNOPSIS
[-e | --image-name] [-s, --skip-build-check] [-D, --debug]
[-r, --rootfs-dir] [-b, --bootimg-dir]
[-k, --kernel-dir] [-n, --native-sysroot] [-f, --build-rootfs]
+ [-c, --compress-with]
DESCRIPTION
This command creates an OpenEmbedded image based on the 'OE
@@ -218,6 +219,9 @@ DESCRIPTION
The -o option can be used to place the image in a directory with a
different name and location.
+ The -c option is used to specify compressor utility to compress
+ an image. gzip, bzip2 and xz compressors are supported.
+
The set of properties available for a given image type can be
listed using the 'wic list' command.
"""