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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#49624): https://lists.yoctoproject.org/g/yocto/message/49624
Mute This Topic: https://lists.yoctoproject.org/mt/74802412/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-