[yocto] Changing IMAGE_NAME [yocto krogoth]

Khem Raj raj.khem at gmail.com
Thu Apr 11 19:16:17 PDT 2019


On Wed, Apr 10, 2019 at 2:49 AM Mauro Ziliani <mauro at faresoftware.it> wrote:

> Hi all.
>
> I need to change the default IMAGE_NAME of my image recipe.
>
> I make my image recipe as mysystem-image_1.0.bb and I'd like to produce
> and image (tar) with the name
>
> mysystem-image-1.0-<datetime>.tar
>
>
Isn’t time stamp part of the standard image you get out of build ?

>
> So I setup
>
> IMAGE_NAME := "{IMAGE_BASENAME}-${PV}-${DATETIME}"
>
>
> I made some compilation of mysystem with the default IMAGE_NAME.
>
> Than I update the value of IMAGE_NAME.
>
>
> Now when I rebuild the image bitbke tell me
>
> ERROR: When reparsing mysystem-image_1.0.do_roots, the basehash value
> change from .... to ....
>
> If i restore the IMAGE_NAME to the default value this message disappear
>
>
> How can I change the IMAGE_NAME as I need and avoi this message?
>
>
> Best regards,
>
>   MZ
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190411/04bae0c6/attachment-0001.html>


More information about the yocto mailing list