diff options
author | Pascal Bach <pascal.bach@siemens.com> | 2014-10-27 08:42:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-04 10:19:56 +0000 |
commit | 0a947408f32d7ab10d2004e7d9332296b82191a3 (patch) | |
tree | 9ec8b27857cf059253342780b46a412b9f29c0f8 /meta | |
parent | 1d6dab1dbbbfbcb32e58dba3111130157ef2b24f (diff) | |
download | openembedded-core-0a947408f32d7ab10d2004e7d9332296b82191a3.tar.gz openembedded-core-0a947408f32d7ab10d2004e7d9332296b82191a3.tar.bz2 openembedded-core-0a947408f32d7ab10d2004e7d9332296b82191a3.zip |
image_types.bbclass: Make ubi depend on ubifs
The ubi command assumes the ubifs file is present.
This makes sure this is really the case.
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index d298897268..6c3a89eefc 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass @@ -97,6 +97,8 @@ IMAGE_CMD_ubi () { mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS} ubinize -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubi ${UBINIZE_ARGS} ubinize.cfg } +IMAGE_TYPEDEP_ubi = "ubifs" + IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}" EXTRA_IMAGECMD = "" |