diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-05-29 15:11:12 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-30 16:32:18 +0100 |
commit | e07d2edabdb9707a7515540f0fc993cec19f677e (patch) | |
tree | e6dc75a7d46a5031a220bf20752823614f6eea6d /documentation | |
parent | 888daaa147bc5c06fb10d7230e3437db48d53d0f (diff) | |
download | openembedded-core-contrib-e07d2edabdb9707a7515540f0fc993cec19f677e.tar.gz |
ref-manual: Added IMAGE_CMD variable.
(From yocto-docs rev: 2050839776033fcd25ed4f9f376b9f2c44c3d235)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index b57c7bd3441..bb6d970e326 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -3148,6 +3148,33 @@ </glossdef> </glossentry> + <glossentry id='var-IMAGE_CMD'><glossterm>IMAGE_CMD</glossterm> + <glossdef> + <para> + Specifies the command to create the image file for a + specific image type, which corresponds to the value set + set in + <link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link>, + (e.g. <filename>ext3</filename>, + <filename>btrfs</filename>, and so forth). + When setting this variable, you should use + an override for the associated type. + Here is an example: + <literallayout class='monospaced'> + IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} \ + --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ + ${EXTRA_IMAGECMD}" + </literallayout> + You typically do not need to set this variable unless + you are adding support for a new image type. + For more examples on how to set this variable, see the + <link linkend='ref-classes-image_types'><filename>image_types</filename></link> + class file, which is + <filename>meta/classes/image_types.bbclass</filename>. + </para> + </glossdef> + </glossentry> + <glossentry id='var-IMAGE_DEVICE_TABLES'><glossterm>IMAGE_DEVICE_TABLES</glossterm> <glossdef> <para> |