summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/help.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-09-05 14:54:39 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:29 +0100
commit387adfb09e291e4612de4db8be634b432170c85a (patch)
tree7400e99e2b0e6de3a18b100c0133ab6e3adcc8c0 /scripts/lib/wic/help.py
parent2c16117dce6b760f165f7522516356f74b3d8904 (diff)
downloadpoky-387adfb09e291e4612de4db8be634b432170c85a.tar.gz
wic: update help content
Added ext* partitions to the description of 'wic ls', 'wic cp' and 'wic rm' commands. (From OE-Core rev: fcff05d666e55a017f11851aa4aad6c3ba9d4ff0) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/help.py')
-rw-r--r--scripts/lib/wic/help.py64
1 files changed, 32 insertions, 32 deletions
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py
index ccd3382324..83bd86e7c5 100644
--- a/scripts/lib/wic/help.py
+++ b/scripts/lib/wic/help.py
@@ -288,10 +288,10 @@ wic_ls_usage = """
288 288
289 List content of a partitioned image 289 List content of a partitioned image
290 290
291 usage: wic ls <image>[:<vfat partition>[<path>]] [--native-sysroot <path>] 291 usage: wic ls <image>[:<partition>[<path>]] [--native-sysroot <path>]
292 292
293 This command outputs either list of image partitions or directory contents 293 This command outputs either list of image partitions or directory contents
294 of vfat partitions. 294 of vfat and ext* partitions.
295 295
296 See 'wic help ls' for more detailed instructions. 296 See 'wic help ls' for more detailed instructions.
297 297
@@ -300,17 +300,17 @@ wic_ls_usage = """
300wic_ls_help = """ 300wic_ls_help = """
301 301
302NAME 302NAME
303 wic ls - List contents of partitioned image or vfat partitions 303 wic ls - List contents of partitioned image or partition
304 304
305SYNOPSIS 305SYNOPSIS
306 wic ls <image> 306 wic ls <image>
307 wic ls <image>:<vfat partition> 307 wic ls <image>:<vfat or ext* partition>
308 wic ls <image>:<vfat partition><path> 308 wic ls <image>:<vfat or ext* partition><path>
309 wic ls <image>:<vfat partition><path> --native-sysroot <path> 309 wic ls <image>:<vfat or ext* partition><path> --native-sysroot <path>
310 310
311DESCRIPTION 311DESCRIPTION
312 This command lists either partitions of the image or directory contents 312 This command lists either partitions of the image or directory contents
313 of vfat partitions. 313 of vfat or ext* partitions.
314 314
315 The first form it lists partitions of the image. 315 The first form it lists partitions of the image.
316 For example: 316 For example:
@@ -319,7 +319,7 @@ DESCRIPTION
319 1 1048576 24438783 23390208 fat16 319 1 1048576 24438783 23390208 fat16
320 2 25165824 50315263 25149440 ext4 320 2 25165824 50315263 25149440 ext4
321 321
322 Second and third form list directory content of vfat partition: 322 Second and third form list directory content of the partition:
323 $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 323 $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1
324 Volume in drive : is boot 324 Volume in drive : is boot
325 Volume Serial Number is 2DF2-5F02 325 Volume Serial Number is 2DF2-5F02
@@ -351,12 +351,12 @@ DESCRIPTION
351 351
352wic_cp_usage = """ 352wic_cp_usage = """
353 353
354 Copy files and directories to the vfat partitions 354 Copy files and directories to the vfat or ext* partition
355 355
356 usage: wic cp <src> <image>:<vfat partition>[<path>] [--native-sysroot <path>] 356 usage: wic cp <src> <image>:<partition>[<path>] [--native-sysroot <path>]
357 357
358 This command copies local files or directories to the vfat partitions of partitioned 358 This command copies local files or directories to the vfat or ext* partitions
359 image. 359of partitioned image.
360 360
361 See 'wic help cp' for more detailed instructions. 361 See 'wic help cp' for more detailed instructions.
362 362
@@ -365,19 +365,19 @@ wic_cp_usage = """
365wic_cp_help = """ 365wic_cp_help = """
366 366
367NAME 367NAME
368 wic cp - copy files and directories to the vfat partitions 368 wic cp - copy files and directories to the vfat or ext* partitions
369 369
370SYNOPSIS 370SYNOPSIS
371 wic cp <src> <image>:<vfat partition> 371 wic cp <src> <image>:<partition>
372 wic cp <src> <image>:<vfat partition><path> 372 wic cp <src> <image>:<partition><path>
373 wic cp <src> <image>:<vfat partition><path> --native-sysroot <path> 373 wic cp <src> <image>:<partition><path> --native-sysroot <path>
374 374
375DESCRIPTION 375DESCRIPTION
376 This command copies files and directories to the vfat partition of the 376 This command copies files and directories to the vfat or ext* partition of
377 wic image. 377 the partitioned image.
378 378
379 The first form of it copies file or directory to the root directory of 379 The first form of it copies file or directory to the root directory of
380 the vfat partition: 380 the partition:
381 $ wic cp test.wks tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 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 382 $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1
383 Volume in drive : is boot 383 Volume in drive : is boot
@@ -393,7 +393,7 @@ DESCRIPTION
393 15 677 440 bytes free 393 15 677 440 bytes free
394 394
395 The second form of the command copies file or directory to the specified directory 395 The second form of the command copies file or directory to the specified directory
396 on the vfat partition: 396 on the partition:
397 $ wic cp test tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/efi/ 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/efi/ 398 $ wic ls tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1/efi/
399 Volume in drive : is boot 399 Volume in drive : is boot
@@ -413,12 +413,12 @@ DESCRIPTION
413 413
414wic_rm_usage = """ 414wic_rm_usage = """
415 415
416 Remove files or directories from the vfat partitions 416 Remove files or directories from the vfat or ext* partitions
417 417
418 usage: wic rm <image>:<vfat partition><path> [--native-sysroot <path>] 418 usage: wic rm <image>:<partition><path> [--native-sysroot <path>]
419 419
420 This command removes files or directories from the vfat partitions of partitioned 420 This command removes files or directories from the vfat or ext* partitions of
421 image. 421 the partitioned image.
422 422
423 See 'wic help rm' for more detailed instructions. 423 See 'wic help rm' for more detailed instructions.
424 424
@@ -427,15 +427,15 @@ wic_rm_usage = """
427wic_rm_help = """ 427wic_rm_help = """
428 428
429NAME 429NAME
430 wic rm - remove files or directories from the vfat partitions 430 wic rm - remove files or directories from the vfat or ext* partitions
431 431
432SYNOPSIS 432SYNOPSIS
433 wic rm <src> <image>:<vfat partition><path> 433 wic rm <src> <image>:<partition><path>
434 wic rm <src> <image>:<vfat partition><path> --native-sysroot <path> 434 wic rm <src> <image>:<partition><path> --native-sysroot <path>
435 435
436DESCRIPTION 436DESCRIPTION
437 This command removes files or directories from the vfat partition of the 437 This command removes files or directories from the vfat or ext* partition of the
438 wic image: 438 partitioned image:
439 439
440 $ wic ls ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 440 $ wic ls ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1
441 Volume in drive : is boot 441 Volume in drive : is boot
@@ -474,7 +474,7 @@ wic_write_usage = """
474 474
475 usage: wic write <image> <target device> [--expand [rules]] [--native-sysroot <path>] 475 usage: wic write <image> <target device> [--expand [rules]] [--native-sysroot <path>]
476 476
477 This command writes wic image to a target device (USB stick, SD card etc). 477 This command writes partitioned image to a target device (USB stick, SD card etc).
478 478
479 See 'wic help write' for more detailed instructions. 479 See 'wic help write' for more detailed instructions.
480 480
@@ -483,7 +483,7 @@ wic_write_usage = """
483wic_write_help = """ 483wic_write_help = """
484 484
485NAME 485NAME
486 wic write - write wic image to a device 486 wic write - write an image to a device
487 487
488SYNOPSIS 488SYNOPSIS
489 wic write <image> <target> 489 wic write <image> <target>
@@ -492,7 +492,7 @@ SYNOPSIS
492 wic write <image> <target> --native-sysroot <path> 492 wic write <image> <target> --native-sysroot <path>
493 493
494DESCRIPTION 494DESCRIPTION
495 This command writes wic image to a target device (USB stick, SD card etc) 495 This command writes an image to a target device (USB stick, SD card etc)
496 496
497 $ wic write ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic /dev/sdb 497 $ wic write ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic /dev/sdb
498 498