From e07d2edabdb9707a7515540f0fc993cec19f677e Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 29 May 2014 15:11:12 +0300 Subject: ref-manual: Added IMAGE_CMD variable. (From yocto-docs rev: 2050839776033fcd25ed4f9f376b9f2c44c3d235) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'documentation/ref-manual') 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 @@ + IMAGE_CMD + + + Specifies the command to create the image file for a + specific image type, which corresponds to the value set + set in + IMAGE_FSTYPES, + (e.g. ext3, + btrfs, and so forth). + When setting this variable, you should use + an override for the associated type. + Here is an example: + + IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} \ + --faketime --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ + ${EXTRA_IMAGECMD}" + + 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 + image_types + class file, which is + meta/classes/image_types.bbclass. + + + + IMAGE_DEVICE_TABLES -- cgit v1.2.3-54-g00ecf