summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2014-10-27 08:42:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:17:10 +0000
commit0fff562384670b64ed207423b7f596c99baa71c4 (patch)
treec7ef6ef42117b337b58b88d605c4216586280898 /meta/classes
parenta6b79ecb502df0f935f5c8575ace9e781770e5c1 (diff)
downloadopenembedded-core-0fff562384670b64ed207423b7f596c99baa71c4.tar.gz
openembedded-core-0fff562384670b64ed207423b7f596c99baa71c4.tar.bz2
openembedded-core-0fff562384670b64ed207423b7f596c99baa71c4.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. (From OE-Core rev: 0a947408f32d7ab10d2004e7d9332296b82191a3) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image_types.bbclass2
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 = ""