diff options
-rw-r--r-- | scripts/lib/wic/help.py | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index bb3c749323..e93ac4b74c 100644 --- a/scripts/lib/wic/help.py +++ b/scripts/lib/wic/help.py | |||
@@ -349,6 +349,68 @@ DESCRIPTION | |||
349 | 349 | ||
350 | """ | 350 | """ |
351 | 351 | ||
352 | wic_cp_usage = """ | ||
353 | |||
354 | Copy files and directories to the vfat partitions | ||
355 | |||
356 | usage: wic cp <src> <image>:<vfat partition>[<path>] [--native-sysroot <path>] | ||
357 | |||
358 | This command copies local files or directories to the vfat partitions of partitioned | ||
359 | image. | ||
360 | |||
361 | See 'wic help cp' for more detailed instructions. | ||
362 | |||
363 | """ | ||
364 | |||
365 | wic_cp_help = """ | ||
366 | |||
367 | NAME | ||
368 | wic cp - copy files and directories to the vfat partitions | ||
369 | |||
370 | SYNOPSIS | ||
371 | wic cp <src> <image>:<vfat partition> | ||
372 | wic cp <src> <image>:<vfat partition><path> | ||
373 | wic cp <src> <image>:<vfat partition><path> --native-sysroot <path> | ||
374 | |||
375 | DESCRIPTION | ||
376 | This command copies files and directories to the vfat partition of the | ||
377 | wic image. | ||
378 | |||
379 | The first form of it copies file or directory to the root directory of | ||
380 | the vfat partition: | ||
381 | $ wic cp test.wks tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 | ||
382 | $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 | ||
383 | Volume in drive : is boot | ||
384 | Volume Serial Number is DB4C-FD4C | ||
385 | Directory for ::/ | ||
386 | |||
387 | efi <DIR> 2017-05-24 18:15 | ||
388 | loader <DIR> 2017-05-24 18:15 | ||
389 | startup nsh 26 2017-05-24 18:15 | ||
390 | vmlinuz 6926384 2017-05-24 18:15 | ||
391 | test wks 628 2017-05-24 21:22 | ||
392 | 5 files 6 927 038 bytes | ||
393 | 15 677 440 bytes free | ||
394 | |||
395 | The second form of the command copies file or directory to the specified directory | ||
396 | on the vfat partition: | ||
397 | $ wic cp test tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/efi/ | ||
398 | $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/eti/ | ||
399 | Volume in drive : is boot | ||
400 | Volume Serial Number is DB4C-FD4C | ||
401 | Directory for ::/efi | ||
402 | |||
403 | . <DIR> 2017-05-24 18:15 | ||
404 | .. <DIR> 2017-05-24 18:15 | ||
405 | boot <DIR> 2017-05-24 18:15 | ||
406 | test <DIR> 2017-05-24 21:27 | ||
407 | 4 files 0 bytes | ||
408 | 15 675 392 bytes free | ||
409 | |||
410 | The -n option is used to specify the path to the native sysroot | ||
411 | containing the tools(parted and mtools) to use. | ||
412 | """ | ||
413 | |||
352 | wic_plugins_help = """ | 414 | wic_plugins_help = """ |
353 | 415 | ||
354 | NAME | 416 | NAME |