[yocto] [PATCH] poky: fix broken ubifs link in deploy folder
Saul Wold
saul.wold at intel.com
Thu Oct 20 09:17:33 PDT 2011
On 10/18/2011 03:55 AM, Lauri Hintsala wrote:
> 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 at bluegiga.com>
> ---
> meta/classes/image_types.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
> index c24b326..45abdeb 100644
> --- a/meta/classes/image_types.bbclass
> +++ b/meta/classes/image_types.bbclass
> @@ -111,7 +111,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"
Lauri,
This has been merged to OE-Core.
In the future please send oe-core related changes to
openembedded-core at lists.openembedded.org. Any changes in meta, are
considered part of oe-core.
Thanks for the fix
Sau!
More information about the yocto
mailing list