summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-05-29 15:11:12 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:32:18 +0100
commite07d2edabdb9707a7515540f0fc993cec19f677e (patch)
treee6dc75a7d46a5031a220bf20752823614f6eea6d /documentation/ref-manual/ref-variables.xml
parent888daaa147bc5c06fb10d7230e3437db48d53d0f (diff)
downloadpoky-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/ref-manual/ref-variables.xml')
-rw-r--r--documentation/ref-manual/ref-variables.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index b57c7bd344..bb6d970e32 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -3148,6 +3148,33 @@
3148 </glossdef> 3148 </glossdef>
3149 </glossentry> 3149 </glossentry>
3150 3150
3151 <glossentry id='var-IMAGE_CMD'><glossterm>IMAGE_CMD</glossterm>
3152 <glossdef>
3153 <para>
3154 Specifies the command to create the image file for a
3155 specific image type, which corresponds to the value set
3156 set in
3157 <link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link>,
3158 (e.g. <filename>ext3</filename>,
3159 <filename>btrfs</filename>, and so forth).
3160 When setting this variable, you should use
3161 an override for the associated type.
3162 Here is an example:
3163 <literallayout class='monospaced'>
3164 IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} \
3165 --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
3166 ${EXTRA_IMAGECMD}"
3167 </literallayout>
3168 You typically do not need to set this variable unless
3169 you are adding support for a new image type.
3170 For more examples on how to set this variable, see the
3171 <link linkend='ref-classes-image_types'><filename>image_types</filename></link>
3172 class file, which is
3173 <filename>meta/classes/image_types.bbclass</filename>.
3174 </para>
3175 </glossdef>
3176 </glossentry>
3177
3151 <glossentry id='var-IMAGE_DEVICE_TABLES'><glossterm>IMAGE_DEVICE_TABLES</glossterm> 3178 <glossentry id='var-IMAGE_DEVICE_TABLES'><glossterm>IMAGE_DEVICE_TABLES</glossterm>
3152 <glossdef> 3179 <glossdef>
3153 <para> 3180 <para>