base-files: add SOURCE_DATE_EPOCH as OPENWRT_BUILD_DATE to os-release
authorFlorian Eckert <[email protected]>
Thu, 20 Oct 2022 08:02:45 +0000 (10:02 +0200)
committerHauke Mehrtens <[email protected]>
Sun, 20 Oct 2024 21:30:27 +0000 (23:30 +0200)
commit6e6b82ac5f2a33ec2bf14a3d0ac2f03fd787282b
treee3f84666da51ebd48534b1428563486177b4b9ef
parent9131cb44ffc39372eb77bd068ccb2b349f1a5fa7
base-files: add SOURCE_DATE_EPOCH as OPENWRT_BUILD_DATE to os-release

This commit adds the build date during compilation to the os-release file.
This information can then be used later to output this via the the ubus,

Signed-off-by: Florian Eckert <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/15987
Signed-off-by: Hauke Mehrtens <[email protected]>
include/version.mk
package/base-files/files/usr/lib/os-release