From 75ae0b7cf3863eb2857a2b6a7073beea626f751d Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Tue, 7 Apr 2015 12:57:41 +0300 Subject: wic: Implement --build-rootfs command line option -f/--build-rootfs option makes wic to run bitbake to produce rootfs. This option requires image name to be specified with -e/--image-name. Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/lib/image/help.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'scripts/lib') 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 = """ [-i | --infile ] [-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 . @@ -132,7 +132,7 @@ SYNOPSIS [-i | --infile ] [-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 " + 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 [-o | ...] [-i | --infile ] [-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 . -- cgit v1.2.3