Le mer. 19 juin 2024 à 09:49, Florian Eckert <f...@dev.tdt.de> a écrit :
>
> 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].

This is not directly related to your patch, what I'm trying to say is
why spend cpu cycles
getting the last commit date for each package and not just hardcode it ?

> > 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