mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
939fca9de2
commit
2dc30249ba
@@ -111,7 +111,7 @@ wic_create_usage = """
|
||||
[-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>]
|
||||
[-e | --image-name] [-s, --skip-build-check] [-D, --debug]
|
||||
[-r, --rootfs-dir] [-b, --bootimg-dir]
|
||||
[-k, --kernel-dir] [-n, --native-sysroot]
|
||||
[-k, --kernel-dir] [-n, --native-sysroot] [-f, --build-rootfs]
|
||||
|
||||
This command creates an OpenEmbedded image based on the 'OE kickstart
|
||||
commands' found in the <wks file>.
|
||||
@@ -132,7 +132,7 @@ SYNOPSIS
|
||||
[-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>]
|
||||
[-e | --image-name] [-s, --skip-build-check] [-D, --debug]
|
||||
[-r, --rootfs-dir] [-b, --bootimg-dir]
|
||||
[-k, --kernel-dir] [-n, --native-sysroot]
|
||||
[-k, --kernel-dir] [-n, --native-sysroot] [-f, --build-rootfs]
|
||||
|
||||
DESCRIPTION
|
||||
This command creates an OpenEmbedded image based on the 'OE
|
||||
@@ -167,6 +167,8 @@ DESCRIPTION
|
||||
The -n option is used to specify the path to the native sysroot
|
||||
containing the tools to use to build the image.
|
||||
|
||||
The -f option is used to build rootfs by running "bitbake <image>"
|
||||
|
||||
The -s option is used to skip the build check. The build check is
|
||||
a simple sanity check used to determine whether the user has
|
||||
sourced the build environment so that the -e option can operate
|
||||
@@ -528,8 +530,8 @@ DESCRIPTION
|
||||
usage: wic create <wks file or image name> [-o <DIRNAME> | ...]
|
||||
[-i <JSON PROPERTY FILE> | --infile <JSON PROPERTY_FILE>]
|
||||
[-e | --image-name] [-s, --skip-build-check] [-D, --debug]
|
||||
[-r, --rootfs-dir] [-b, --bootimg-dir]
|
||||
[-k, --kernel-dir] [-n, --native-sysroot]
|
||||
[-r, --rootfs-dir] [-b, --bootimg-dir] [-k, --kernel-dir]
|
||||
[-n, --native-sysroot] [-f, --build-rootfs]
|
||||
|
||||
This command creates an OpenEmbedded image based on the 'OE
|
||||
kickstart commands' found in the <wks file>.
|
||||
|
||||
Reference in New Issue
Block a user