You know that rootfs already creates /etc/version file with $DATETIME?
Either way, you can fix it like this:
mark_os_buildtime[vardepsexclude] = "DATETIME"
--
Denys
On Thu, Jun 11, 2020 at 09:56:42AM +0200, Mauro Ziliani wrote:
> In the image recipe i write ${DATETIME} in
>
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,
Thanks.
No i edit the recipes before build.
Il 10/06/20 19:50, Rudolf J Streif ha scritto:
Did you edit the recipe while a build was running?
:rjs
On 6/10/20 10:48 AM, Mauro Ziliani wrote:
Hi all.
This error
NOTE: Executing RunQueue Tasks
ERROR: When reparsing .do_rootfs, the basehash
Howdy!
Am 10.06.2020 um 19:48 schrieb Mauro Ziliani:
Hi all.
This error
NOTE: Executing RunQueue Tasks
ERROR: When reparsing .do_rootfs, the basehash value
changed from 7419bfc242fa2eee9ce87b18ebf40d25 to
5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic and
this needs to
Did you edit the recipe while a build was running?
:rjs
On 6/10/20 10:48 AM, Mauro Ziliani wrote:
> Hi all.
>
> This error
>
> NOTE: Executing RunQueue Tasks
> ERROR: When reparsing .do_rootfs, the basehash value
> changed from 7419bfc242fa2eee9ce87b18ebf40d25 to
>
Hi all.
This error
NOTE: Executing RunQueue Tasks
ERROR: When reparsing .do_rootfs, the basehash value
changed from 7419bfc242fa2eee9ce87b18ebf40d25 to
5b2654046d2ac406f3484b3286de0acd. The metadata is not deterministic and
this needs to be fixed.
Why?
Best regards,
MZ