diff options
| author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2014-11-26 08:22:06 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-26 17:05:46 +0000 |
| commit | b466e00cf6aba73d265f0515c980e12ff5175a5e (patch) | |
| tree | aef117127515136d3d804e5dfb1c38f0643c5332 /scripts/lib/image/help.py | |
| parent | 00af5317ebe0819f9e9e5c10184b00b59eecccb5 (diff) | |
| download | poky-b466e00cf6aba73d265f0515c980e12ff5175a5e.tar.gz | |
wic: Update the help text to include -D (--debug)
The --debug option is missing from the wic help text; this adds it and
at the same time rearranges the usage into a more logical arrangement.
(From OE-Core rev: cf5144ef241d8f4ccaa3461ae5c9f89c2cf2f8d1)
(From OE-Core rev: e7f18c43f1b368b71acdc507e1a9035179d7e53f)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/image/help.py')
| -rw-r--r-- | scripts/lib/image/help.py | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py index 080795e577..0963532218 100644 --- a/scripts/lib/image/help.py +++ b/scripts/lib/image/help.py | |||
| @@ -109,8 +109,9 @@ wic_create_usage = """ | |||
| 109 | 109 | ||
| 110 | usage: wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>] | 110 | usage: wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>] |
| 111 | [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] | 111 | [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] |
| 112 | [-e | --image-name] [-r, --rootfs-dir] [-b, --bootimg-dir] | 112 | [-e | --image-name] [-s, --skip-build-check] [-D, --debug] |
| 113 | [-k, --kernel-dir] [-n, --native-sysroot] [-s, --skip-build-check] | 113 | [-r, --rootfs-dir] [-b, --bootimg-dir] |
| 114 | [-k, --kernel-dir] [-n, --native-sysroot] | ||
| 114 | 115 | ||
| 115 | This command creates an OpenEmbedded image based on the 'OE kickstart | 116 | This command creates an OpenEmbedded image based on the 'OE kickstart |
| 116 | commands' found in the <wks file>. | 117 | commands' found in the <wks file>. |
| @@ -129,8 +130,9 @@ NAME | |||
| 129 | SYNOPSIS | 130 | SYNOPSIS |
| 130 | wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>] | 131 | wic create <wks file or image name> [-o <DIRNAME> | --outdir <DIRNAME>] |
| 131 | [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] | 132 | [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] |
| 132 | [-e | --image-name] [-r, --rootfs-dir] [-b, --bootimg-dir] | 133 | [-e | --image-name] [-s, --skip-build-check] [-D, --debug] |
| 133 | [-k, --kernel-dir] [-n, --native-sysroot] [-s, --skip-build-check] | 134 | [-r, --rootfs-dir] [-b, --bootimg-dir] |
| 135 | [-k, --kernel-dir] [-n, --native-sysroot] | ||
| 134 | 136 | ||
| 135 | DESCRIPTION | 137 | DESCRIPTION |
| 136 | This command creates an OpenEmbedded image based on the 'OE | 138 | This command creates an OpenEmbedded image based on the 'OE |
| @@ -172,6 +174,12 @@ DESCRIPTION | |||
| 172 | explicitly, 'wic' assumes the user knows what he or she is doing | 174 | explicitly, 'wic' assumes the user knows what he or she is doing |
| 173 | and skips the build check. | 175 | and skips the build check. |
| 174 | 176 | ||
| 177 | The -D option is used to display debug information detailing | ||
| 178 | exactly what happens behind the scenes when a create request is | ||
| 179 | fulfilled (or not, as the case may be). It enumerates and | ||
| 180 | displays the command sequence used, and should be included in any | ||
| 181 | bug report describing unexpected results. | ||
| 182 | |||
| 175 | When 'wic -e' is used, the locations for the build artifacts | 183 | When 'wic -e' is used, the locations for the build artifacts |
| 176 | values are determined by 'wic -e' from the output of the 'bitbake | 184 | values are determined by 'wic -e' from the output of the 'bitbake |
| 177 | -e' command given an image name e.g. 'core-image-minimal' and a | 185 | -e' command given an image name e.g. 'core-image-minimal' and a |
| @@ -519,8 +527,9 @@ DESCRIPTION | |||
| 519 | 527 | ||
| 520 | usage: wic create <wks file or image name> [-o <DIRNAME> | ...] | 528 | usage: wic create <wks file or image name> [-o <DIRNAME> | ...] |
| 521 | [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] | 529 | [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] |
| 522 | [-e | --image-name] [-r, --rootfs-dir] [-b, --bootimg-dir] | 530 | [-e | --image-name] [-s, --skip-build-check] [-D, --debug] |
| 523 | [-k, --kernel-dir] [-n, --native-sysroot] [-s, --skip-build-check] | 531 | [-r, --rootfs-dir] [-b, --bootimg-dir] |
| 532 | [-k, --kernel-dir] [-n, --native-sysroot] | ||
| 524 | 533 | ||
| 525 | This command creates an OpenEmbedded image based on the 'OE | 534 | This command creates an OpenEmbedded image based on the 'OE |
| 526 | kickstart commands' found in the <wks file>. | 535 | kickstart commands' found in the <wks file>. |
