Hello Etienne,

The variable 'SOURCE_DATE_EPOCH' is used in the build system to have a
defined build time for the entire software. This information is discovered
with the script '/scripts/get_source_date_epoch.sh'.

This information is used to generate reproducible binary builds and should therefore be available in the file '/usr/lib/os-release' on the target.

Why not set SOURCE_DATE_EPOCH to 1 and never change it again ?

Unfortunately, I don't understand what you're trying to tell me. The
'SOURCE_DATE_EPOCH' is the last commit time in OpenWrt git repo. This
is discovered with the script '/scripts/get_source_date_epoch.sh' [1].


Having the last commit date in os-release is still interesting

:+1:

Best regards

Florian

[1] https://github.com/openwrt/openwrt/blob/main/scripts/get_source_date_epoch.sh

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to