diff options
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/wic b/scripts/wic index 945dda82e3..5e81fad726 100755 --- a/scripts/wic +++ b/scripts/wic | |||
@@ -241,6 +241,12 @@ def wic_ls_subcommand(args, usage_str): | |||
241 | """ | 241 | """ |
242 | engine.wic_ls(args, args.native_sysroot) | 242 | engine.wic_ls(args, args.native_sysroot) |
243 | 243 | ||
244 | def wic_cp_subcommand(args, usage_str): | ||
245 | """ | ||
246 | Command-line handling for copying files/dirs to images. | ||
247 | The real work is done by engine.wic_cp() | ||
248 | """ | ||
249 | engine.wic_cp(args, args.native_sysroot) | ||
244 | 250 | ||
245 | def wic_help_subcommand(args, usage_str): | 251 | def wic_help_subcommand(args, usage_str): |
246 | """ | 252 | """ |
@@ -277,6 +283,9 @@ helptopics = { | |||
277 | "ls": [wic_help_topic_subcommand, | 283 | "ls": [wic_help_topic_subcommand, |
278 | wic_help_topic_usage, | 284 | wic_help_topic_usage, |
279 | hlp.wic_ls_help], | 285 | hlp.wic_ls_help], |
286 | "cp": [wic_help_topic_subcommand, | ||
287 | wic_help_topic_usage, | ||
288 | hlp.wic_cp_help], | ||
280 | "list": [wic_help_topic_subcommand, | 289 | "list": [wic_help_topic_subcommand, |
281 | wic_help_topic_usage, | 290 | wic_help_topic_usage, |
282 | hlp.wic_list_help] | 291 | hlp.wic_list_help] |
@@ -390,6 +399,10 @@ subcommands = { | |||
390 | hlp.wic_ls_usage, | 399 | hlp.wic_ls_usage, |
391 | hlp.wic_ls_help, | 400 | hlp.wic_ls_help, |
392 | wic_init_parser_ls], | 401 | wic_init_parser_ls], |
402 | "cp": [wic_cp_subcommand, | ||
403 | hlp.wic_cp_usage, | ||
404 | hlp.wic_cp_help, | ||
405 | wic_init_parser_cp], | ||
393 | "help": [wic_help_subcommand, | 406 | "help": [wic_help_subcommand, |
394 | wic_help_topic_usage, | 407 | wic_help_topic_usage, |
395 | hlp.wic_help_help, | 408 | hlp.wic_help_help, |