aboutsummaryrefslogtreecommitdiff
path: root/linaro-media-create
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2012-07-26 10:48:15 +0200
committerMilo Casagrande <milo@ubuntu.com>2012-07-26 10:48:15 +0200
commitc0cca3bde4c3a2e41f48550be9a132665f086cf6 (patch)
treea0c336ef56059fc2aa70c089aac27baaff1468a9 /linaro-media-create
parente65c63a15705eeaf1444cfa031269d5876256b36 (diff)
downloadlinaro-image-tools-c0cca3bde4c3a2e41f48550be9a132665f086cf6.tar.gz
Fixed name for --dev option.
Diffstat (limited to 'linaro-media-create')
-rwxr-xr-xlinaro-media-create6
1 files changed, 3 insertions, 3 deletions
diff --git a/linaro-media-create b/linaro-media-create
index 43c0e7d..b5288c1 100755
--- a/linaro-media-create
+++ b/linaro-media-create
@@ -129,9 +129,9 @@ if __name__ == '__main__':
print >> sys.stderr, "\nError:", e.value
sys.exit(1)
- board_config = board_configs[args.board]
+ board_config = board_configs[args.dev]
board_config.set_metadata(args.hwpacks, args.bootloader, args.board)
- board_config.set_board(args.board)
+ board_config.set_board(args.dev)
board_config.add_boot_args(args.extra_boot_args)
board_config.add_boot_args_from_file(args.extra_boot_args_file)
@@ -141,7 +141,7 @@ if __name__ == '__main__':
if not board_config.supports_writing_to_mmc:
print ("The board '%s' does not support the --mmc option. "
"Please use --image_file to create an image file for this "
- "board." % args.board)
+ "board." % args.dev)
sys.exit(1)
if not confirm_device_selection_and_ensure_it_is_ready(
args.device, args.nocheck_mmc):