diff options
| -rw-r--r-- | meta/classes/image.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index f9e7fca3ae..2d0747e3a2 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
| @@ -66,8 +66,9 @@ fakeroot do_rootfs () { | |||
| 66 | bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}" | 66 | bbimage -n "${IMAGE_NAME}" -t "$type" -e "${FILE}" |
| 67 | fi | 67 | fi |
| 68 | 68 | ||
| 69 | cd ${DEPLOY_DIR_IMAGE}/ | ||
| 69 | rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.* | 70 | rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.* |
| 70 | ln -s ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type | 71 | ln -s ${IMAGE_NAME}.rootfs.$type ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.$type |
| 71 | done | 72 | done |
| 72 | 73 | ||
| 73 | ${IMAGE_POSTPROCESS_COMMAND} | 74 | ${IMAGE_POSTPROCESS_COMMAND} |
