summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorLauri Hintsala <lauri.hintsala@bluegiga.com>2011-10-18 13:55:24 +0300
committerSaul Wold <sgw@linux.intel.com>2011-10-19 19:58:44 -0700
commit766f6165471691f651584ebda004e1abb4ea9eb6 (patch)
treec90c788dc8050b30bab7801f1a7250af4e258a57 /meta
parente31dd9b65f3b03f79cabab25eca157532de3bd9c (diff)
downloadopenembedded-core-766f6165471691f651584ebda004e1abb4ea9eb6.tar.gz
openembedded-core-766f6165471691f651584ebda004e1abb4ea9eb6.tar.bz2
openembedded-core-766f6165471691f651584ebda004e1abb4ea9eb6.tar.xz
openembedded-core-766f6165471691f651584ebda004e1abb4ea9eb6.zip
poky: fix broken ubifs link in deploy folder
Fix broken rootfs image link when ubifs is used. Function runimagecmd is using image name "${IMAGE_NAME}.rootfs.${type}". Let's use the same name in IMAGE_CMD_ubifs. Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image_types.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 226091572..0d6470521 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -125,7 +125,7 @@ IMAGE_CMD_ubi () {
echo vol_flags=autoresize >> ubinize.cfg
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_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}"
+IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}"
EXTRA_IMAGECMD = ""
EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000"