Re: Strange error


Mauro Ziliani
 

In the image recipe i write ${DATETIME} in ${IMAGE_ROOTFS}/etc/buildtime by a function.

This is the part of recipe


ROOTFS_POSTPROCESS_COMMAND_append = " \
    mark_os_buildtime; \

"


mark_os_buildtime() {
    echo "${PV} ${DATETIME}" > ${IMAGE_ROOTFS}/etc/buildtime

}



Il 10/06/20 20:44, Josef Holzmayr ha scritto:

Howdy!

Am 10.06.2020 um 19:48 schrieb Mauro Ziliani:
Hi all.

This error

NOTE: Executing RunQueue Tasks
ERROR: When reparsing <recipe_of_image>.do_rootfs, the basehash value changed from 7419bfc242fa2eee9ce87b18ebf40d25 to 5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic and this needs to be fixed.


Why?

Maybe some script / part of the recipe is dependent on the execution time or evaluation order? The error basically tells you that your build is not reproducible across runs.

Greetz



    

Join yocto@lists.yoctoproject.org to automatically receive all group messages.