base-files: fix /tmp/TZ when zoneinfo not installed
authorPaul Spooren <mail@aparcar.org>
Thu, 24 Jun 2021 17:42:53 +0000 (07:42 -1000)
committerPaul Spooren <mail@aparcar.org>
Sat, 26 Jun 2021 00:53:52 +0000 (14:53 -1000)
commit3d62b5d5c66c47814fde74a5e50d3e0f9b1d6a84
treef0cc0ad05be091d110a0657e6d0c742a42259a41
parent3047df231743969ec2b4641d531e888b8c7f30e0
base-files: fix /tmp/TZ when zoneinfo not installed

The zoneinfo packages are not installed per default so neither
/tmp/localtime nor /tmp/TZ is generated.

This patch mostly reverts the previous fix and instead incooperates a
solution suggested by Jo.

Fixes "base-files: fix zoneinfo support " 8af62ed

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 56bdb6bb9781f8a0bbec5fc3075b9d2b8d12f9a8)
package/base-files/files/etc/init.d/system