busybox: show reproducible timestamp
authorPaul Spooren <mail@aparcar.org>
Thu, 13 May 2021 21:57:45 +0000 (23:57 +0200)
committerPaul Spooren <mail@aparcar.org>
Tue, 18 May 2021 22:32:46 +0000 (00:32 +0200)
commita725382978515abfb2eb7be3bafef735dca97dbd
tree915b2049cfdff4610be6c925b33e37496cdd915d
parentf716c30241d5fd9d821560f58d0af0c3ffe78600
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>
package/utils/busybox/Makefile
package/utils/busybox/patches/530-use-SOURCE_DATE_EPOCH-for-timestamp-if-available.patch [new file with mode: 0644]