From d64c7b37c40b052510419b4d6629b83319c833e4 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Wed, 18 May 2016 15:34:17 +0300 Subject: wic: implement --bmap option This option enables generation of .bmap file for the result image using native bmaptool. [YOCTO #9413] Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/wic | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/wic') 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): parser.add_option("-c", "--compress-with", choices=("gzip", "bzip2", "xz"), dest='compressor', help="compress image with specified compressor") + parser.add_option("-m", "--bmap", action="store_true", help="generate .bmap") parser.add_option("-v", "--vars", dest='vars_dir', help="directory with .env files that store " "bitbake variables") @@ -245,7 +246,7 @@ def wic_create_subcommand(args, usage_str): print("Creating image(s)...\n") engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, native_sysroot, scripts_path, image_output_dir, - options.compressor, options.debug) + options.compressor, options.bmap, options.debug) def wic_list_subcommand(args, usage_str): -- cgit 1.2.3-korg