summaryrefslogtreecommitdiffstats
path: root/scripts/wic
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-18 15:34:17 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-19 09:05:19 +0100
commitb5804498d6010b75b41b49633948ee5babf48876 (patch)
tree092a57999b712d59eba098a23593c3f4b843872f /scripts/wic
parenta49d279b509294c374e4e9ed7765a74735ae31d3 (diff)
downloadpoky-b5804498d6010b75b41b49633948ee5babf48876.tar.gz
wic: implement --bmap option
This option enables generation of <image>.bmap file for the result image using native bmaptool. [YOCTO #9413] (From OE-Core rev: d64c7b37c40b052510419b4d6629b83319c833e4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-xscripts/wic3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/wic b/scripts/wic
index 11c8316b97..3d33430f1b 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -115,6 +115,7 @@ def wic_create_subcommand(args, usage_str):
115 parser.add_option("-c", "--compress-with", choices=("gzip", "bzip2", "xz"), 115 parser.add_option("-c", "--compress-with", choices=("gzip", "bzip2", "xz"),
116 dest='compressor', 116 dest='compressor',
117 help="compress image with specified compressor") 117 help="compress image with specified compressor")
118 parser.add_option("-m", "--bmap", action="store_true", help="generate .bmap")
118 parser.add_option("-v", "--vars", dest='vars_dir', 119 parser.add_option("-v", "--vars", dest='vars_dir',
119 help="directory with <image>.env files that store " 120 help="directory with <image>.env files that store "
120 "bitbake variables") 121 "bitbake variables")
@@ -245,7 +246,7 @@ def wic_create_subcommand(args, usage_str):
245 print("Creating image(s)...\n") 246 print("Creating image(s)...\n")
246 engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, 247 engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
247 native_sysroot, scripts_path, image_output_dir, 248 native_sysroot, scripts_path, image_output_dir,
248 options.compressor, options.debug) 249 options.compressor, options.bmap, options.debug)
249 250
250 251
251def wic_list_subcommand(args, usage_str): 252def wic_list_subcommand(args, usage_str):