summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-04-07 12:57:41 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-09 07:43:53 +0100
commit2dc30249babbeb2ac3d2bfdbb49cc5963dfff432 (patch)
tree93ba1bbf6d125e067b4e543e8c43b13de5637d9c /scripts/lib
parent939fca9de24e6750baa9ba066daafdda85b4a216 (diff)
downloadpoky-2dc30249babbeb2ac3d2bfdbb49cc5963dfff432.tar.gz
wic: Implement --build-rootfs command line option
-f/--build-rootfs option makes wic to run bitbake <image> to produce rootfs. This option requires image name to be specified with -e/--image-name. (From OE-Core rev: 75ae0b7cf3863eb2857a2b6a7073beea626f751d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/image/help.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index e1eb265979..e365a07803 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -111,7 +111,7 @@ wic_create_usage = """
111 [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] 111 [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>]
112 [-e | --image-name] [-s, --skip-build-check] [-D, --debug] 112 [-e | --image-name] [-s, --skip-build-check] [-D, --debug]
113 [-r, --rootfs-dir] [-b, --bootimg-dir] 113 [-r, --rootfs-dir] [-b, --bootimg-dir]
114 [-k, --kernel-dir] [-n, --native-sysroot] 114 [-k, --kernel-dir] [-n, --native-sysroot] [-f, --build-rootfs]
115 115
116 This command creates an OpenEmbedded image based on the 'OE kickstart 116 This command creates an OpenEmbedded image based on the 'OE kickstart
117 commands' found in the <wks file>. 117 commands' found in the <wks file>.
@@ -132,7 +132,7 @@ SYNOPSIS
132 [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] 132 [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>]
133 [-e | --image-name] [-s, --skip-build-check] [-D, --debug] 133 [-e | --image-name] [-s, --skip-build-check] [-D, --debug]
134 [-r, --rootfs-dir] [-b, --bootimg-dir] 134 [-r, --rootfs-dir] [-b, --bootimg-dir]
135 [-k, --kernel-dir] [-n, --native-sysroot] 135 [-k, --kernel-dir] [-n, --native-sysroot] [-f, --build-rootfs]
136 136
137DESCRIPTION 137DESCRIPTION
138 This command creates an OpenEmbedded image based on the 'OE 138 This command creates an OpenEmbedded image based on the 'OE
@@ -167,6 +167,8 @@ DESCRIPTION
167 The -n option is used to specify the path to the native sysroot 167 The -n option is used to specify the path to the native sysroot
168 containing the tools to use to build the image. 168 containing the tools to use to build the image.
169 169
170 The -f option is used to build rootfs by running "bitbake <image>"
171
170 The -s option is used to skip the build check. The build check is 172 The -s option is used to skip the build check. The build check is
171 a simple sanity check used to determine whether the user has 173 a simple sanity check used to determine whether the user has
172 sourced the build environment so that the -e option can operate 174 sourced the build environment so that the -e option can operate
@@ -528,8 +530,8 @@ DESCRIPTION
528 usage: wic create <wks file or image name> [-o <DIRNAME> | ...] 530 usage: wic create <wks file or image name> [-o <DIRNAME> | ...]
529 [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>] 531 [-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>]
530 [-e | --image-name] [-s, --skip-build-check] [-D, --debug] 532 [-e | --image-name] [-s, --skip-build-check] [-D, --debug]
531 [-r, --rootfs-dir] [-b, --bootimg-dir] 533 [-r, --rootfs-dir] [-b, --bootimg-dir] [-k, --kernel-dir]
532 [-k, --kernel-dir] [-n, --native-sysroot] 534 [-n, --native-sysroot] [-f, --build-rootfs]
533 535
534 This command creates an OpenEmbedded image based on the 'OE 536 This command creates an OpenEmbedded image based on the 'OE
535 kickstart commands' found in the <wks file>. 537 kickstart commands' found in the <wks file>.