In the buildsystm the value 'SOURCE_DATE_EPOCH' is used for reproducible
builds. This commit adds the new information to the system board ubus call.
This information must also be added during the openwrt build to the
'/usr/lib/os-release' file so that this can be read.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
key = "target";
else if (!strcasecmp(key, "PRETTY_NAME"))
key = "description";
+ else if (!strcasecmp(key, "OPENWRT_BUILD_DATE"))
+ key = "builddate";
else
continue;