aboutsummaryrefslogtreecommitdiff
path: root/linaro-media-create
diff options
context:
space:
mode:
authorJames Tunnicliffe <james.tunnicliffe@linaro.org>2012-07-25 12:06:29 +0100
committerJames Tunnicliffe <james.tunnicliffe@linaro.org>2012-07-25 12:06:29 +0100
commit3076b48fa055a31974fd08f1f7d2a24ba05a5f9f (patch)
treee465b7728d7b5a0739b0cca98d49d66b0f875733 /linaro-media-create
parent69012f93cce99ecb11d0a7b7e6d0be7259786572 (diff)
downloadlinaro-image-tools-3076b48fa055a31974fd08f1f7d2a24ba05a5f9f.tar.gz
Wired up command line parameters that should allow board and bootloader selection.
Diffstat (limited to 'linaro-media-create')
-rwxr-xr-xlinaro-media-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/linaro-media-create b/linaro-media-create
index 1f60305..87d9c6f 100755
--- a/linaro-media-create
+++ b/linaro-media-create
@@ -108,7 +108,7 @@ if __name__ == '__main__':
sys.exit(1)
board_config = board_configs[args.board]
- board_config.set_metadata(args.hwpacks)
+ board_config.set_metadata(args.hwpacks, args.bootloader, args.board)
board_config.set_board(args.board)
board_config.add_boot_args(args.extra_boot_args)
board_config.add_boot_args_from_file(args.extra_boot_args_file)
@@ -187,7 +187,7 @@ if __name__ == '__main__':
if args.should_format_bootfs:
board_config.populate_boot(
ROOTFS_DIR, rootfs_uuid, boot_partition, BOOT_DISK, media.path,
- args.is_live, args.is_lowmem, args.consoles, args.bootloader)
+ args.is_live, args.is_lowmem, args.consoles)
if args.should_format_rootfs:
create_swap = False