diff options
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 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> |