busybox: show reproducible timestamp
authorPaul Spooren <mail@aparcar.org>
Thu, 13 May 2021 21:57:45 +0000 (23:57 +0200)
committerBaptiste Jonglez <git@bitsofnetworks.org>
Wed, 26 May 2021 22:03:12 +0000 (00:03 +0200)
commit4b691077e0ae658c3c3d4fc625b09a5b9f01f99d
tree1524d8c916244fbb020366fabaec1be9293daf8a
parent6b6bcca1a05315c019eb55bec2b460a54c65ba1e
busybox: show reproducible timestamp

On login busybox shows a timestamp per default contianing the build
date. Since the build date isn't reproducible per default this behaviour
was disabled by default via 34df4d40 "busybox: disable timestamp in
version".

This commit modifies busybox so that the printed timestamp reproducible
using SOURCE_DATE_EPOCH and therefore shouldn't be disabled anymore.

Before:

    BusyBox v1.33.1 () built-in shell (ash)

After:

    BusyBox v1.33.1 (2021-05-13 09:34:34 UTC) built-in shell (ash)

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit a725382978515abfb2eb7be3bafef735dca97dbd)
package/utils/busybox/Makefile
package/utils/busybox/patches/530-use-SOURCE_DATE_EPOCH-for-timestamp-if-available.patch [new file with mode: 0644]