summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Hintsala <lauri.hintsala@bluegiga.com>2011-10-18 13:55:24 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-20 17:13:34 +0100
commitbce6dde682ef786e5553a01c02370d3ca888af79 (patch)
tree5e987da16e5edce2daec00553916907739ba189d
parentb4757833c3548b5ee3a1cce58e2f059b3f63cb09 (diff)
downloadpoky-bce6dde682ef786e5553a01c02370d3ca888af79.tar.gz
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. (From OE-Core rev: 766f6165471691f651584ebda004e1abb4ea9eb6) Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 2260915729..0d64705214 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -125,7 +125,7 @@ IMAGE_CMD_ubi () {
125 echo vol_flags=autoresize >> ubinize.cfg 125 echo vol_flags=autoresize >> ubinize.cfg
126 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 126 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
127} 127}
128IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}" 128IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}"
129 129
130EXTRA_IMAGECMD = "" 130EXTRA_IMAGECMD = ""
131EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000" 131EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000"