base-files: add SOURCE_DATE_EPOCH as OPENWRT_BUILD_DATE to os-release
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 20 Oct 2022 08:02:45 +0000 (10:02 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
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 <fe@dev.tdt.de>
Link: https://github.com/openwrt/openwrt/pull/15987
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/version.mk
package/base-files/files/usr/lib/os-release