summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/help.py')
-rw-r--r--scripts/lib/wic/help.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py
index 99912cd400..ccd3382324 100644
--- a/scripts/lib/wic/help.py
+++ b/scripts/lib/wic/help.py
@@ -468,6 +468,46 @@ DESCRIPTION
468 containing the tools(parted and mtools) to use. 468 containing the tools(parted and mtools) to use.
469""" 469"""
470 470
471wic_write_usage = """
472
473 Write image to a device
474
475 usage: wic write <image> <target device> [--expand [rules]] [--native-sysroot <path>]
476
477 This command writes wic image to a target device (USB stick, SD card etc).
478
479 See 'wic help write' for more detailed instructions.
480
481"""
482
483wic_write_help = """
484
485NAME
486 wic write - write wic image to a device
487
488SYNOPSIS
489 wic write <image> <target>
490 wic write <image> <target> --expand auto
491 wic write <image> <target> --expand 1:100M-2:300M
492 wic write <image> <target> --native-sysroot <path>
493
494DESCRIPTION
495 This command writes wic image to a target device (USB stick, SD card etc)
496
497 $ wic write ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic /dev/sdb
498
499 The --expand option is used to resize image partitions.
500 --expand auto expands partitions to occupy all free space available on the target device.
501 It's also possible to specify expansion rules in a format
502 <partition>:<size>[-<partition>:<size>...] for one or more partitions.
503 Specifying size 0 will keep partition unmodified.
504 Note: Resizing boot partition can result in non-bootable image for non-EFI images. It is
505 recommended to use size 0 for boot partition to keep image bootable.
506
507 The --native-sysroot option is used to specify the path to the native sysroot
508 containing the tools(parted, resize2fs) to use.
509"""
510
471wic_plugins_help = """ 511wic_plugins_help = """
472 512
473NAME 513NAME