On Wed Oct 23, 2024 at 4:40 AM CEST, ChenQi wrote: > The timestamps of all files in rootfs will be changed again by > reproducible_final_image_task. To achieve what you what, what you need > to do is touching an empty file, $D/usr/lib/clock-epoch, in systemd's > do_install task. > > And when you create /usr/lib/clock-epoch at rootfs time and changes its > mtime to the current time when REPRODUCIBLE_TIMESTAMP_ROOTFS is not set, > its mtime will be set again by reproducible_final_image_task to be the > commit time of the latest commit. This means the touch action in rootfs > time is useless. >
Thanks for the clarification, I will give a try. > Regards, > Qi > Regards, Gaël
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#206183): https://lists.openembedded.org/g/openembedded-core/message/206183 Mute This Topic: https://lists.openembedded.org/mt/109095282/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-