diff options
-rw-r--r-- | meta/classes/image_ipk.bbclass | 3 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/image_ipk.bbclass b/meta/classes/image_ipk.bbclass index 18476b9af..d5f21c580 100644 --- a/meta/classes/image_ipk.bbclass +++ b/meta/classes/image_ipk.bbclass @@ -53,6 +53,9 @@ fakeroot do_rootfs () { else bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}" fi + + rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.* + ln -s ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type done ${IMAGE_POSTPROCESS_COMMAND} diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 2e3cb0f98..e393ac29b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -174,6 +174,7 @@ DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images" IMAGE_ROOTFS = "${TMPDIR}/rootfs" IMAGE_BASENAME = "rootfs" IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" +IMAGE_LINK_NAME = "${IMAGE_BASENAME}-${MACHINE}" IMAGE_CMD = "" IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ |