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>2012-01-30 16:38:02 +0000
commitba79e6f63142ad62b1223a66d5fe6fcd916ba207 (patch)
tree64fc52ef13f3994ddc0245cf65900e59e9a18f3a
parent071d5de3f358a654e45e4aa0f5fe8086aff39539 (diff)
downloadpoky-ba79e6f63142ad62b1223a66d5fe6fcd916ba207.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) (From OE-Core rev: 6c4276ee968bed7a5b3e74637183414a428facb8) 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 c24b326451..45abdeb3a3 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -111,7 +111,7 @@ IMAGE_CMD_ubi () {
111 echo vol_flags=autoresize >> ubinize.cfg 111 echo vol_flags=autoresize >> ubinize.cfg
112 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 112 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
113} 113}
114IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ubifs.img ${MKUBIFS_ARGS}" 114IMAGE_CMD_ubifs = "mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ubifs ${MKUBIFS_ARGS}"
115 115
116EXTRA_IMAGECMD = "" 116EXTRA_IMAGECMD = ""
117EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000" 117EXTRA_IMAGECMD_jffs2 ?= "--pad --little-endian --eraseblock=0x40000"