summaryrefslogtreecommitdiffstats
path: root/scripts/lib/image
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-27 22:42:49 +0100
commit13427e1598a73e26fdd7af7f550f76b5d3a03777 (patch)
treea31522bdf13a05daad21923a4100b750ec220115 /scripts/lib/image
parent48b5ea6782ec7e9ab8f9a28438ef0ededa5fe224 (diff)
downloadpoky-13427e1598a73e26fdd7af7f550f76b5d3a03777.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. (From OE-Core rev: 8425ef0a67aa5ca7b2dbf4c461004af555aa0c96) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/image')
-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
152 [-e | --image-name] [-s, --skip-build-check] [-D, --debug] 152 [-e | --image-name] [-s, --skip-build-check] [-D, --debug]
153 [-r, --rootfs-dir] [-b, --bootimg-dir] 153 [-r, --rootfs-dir] [-b, --bootimg-dir]
154 [-k, --kernel-dir] [-n, --native-sysroot] [-f, --build-rootfs] 154 [-k, --kernel-dir] [-n, --native-sysroot] [-f, --build-rootfs]
155 [-c, --compress-with]
155 156
156DESCRIPTION 157DESCRIPTION
157 This command creates an OpenEmbedded image based on the 'OE 158 This command creates an OpenEmbedded image based on the 'OE
@@ -218,6 +219,9 @@ DESCRIPTION
218 The -o option can be used to place the image in a directory with a 219 The -o option can be used to place the image in a directory with a
219 different name and location. 220 different name and location.
220 221
222 The -c option is used to specify compressor utility to compress
223 an image. gzip, bzip2 and xz compressors are supported.
224
221 The set of properties available for a given image type can be 225 The set of properties available for a given image type can be
222 listed using the 'wic list' command. 226 listed using the 'wic list' command.
223""" 227"""