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:56:48 +0000 (14:56 -1000)
commit71fa524e1bef2b266d9ed3ee94c2b7ff9d8e59b0
tree8548fa45048213fad0dbb18256009650d203668e
parentc88bdb8294a73e0eaa3cd86e843564a8244b333c
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