mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
48b5ea6782
commit
13427e1598
@@ -105,6 +105,9 @@ def wic_create_subcommand(args, usage_str):
|
||||
parser.add_option("-p", "--skip-build-check", dest="build_check",
|
||||
action="store_false", default=True, help="skip the build check")
|
||||
parser.add_option("-f", "--build-rootfs", action="store_true", help="build rootfs")
|
||||
parser.add_option("-c", "--compress-with", choices=("gzip", "bzip2", "xz"),
|
||||
dest='compressor',
|
||||
help="compress image with specified compressor")
|
||||
parser.add_option("-D", "--debug", dest="debug", action="store_true",
|
||||
default=False, help="output debug information")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user