Files
gentoo/sys-libs
Mike Gilbert c4bf952076 sys-libs/timezone-data: adjust /etc/localtime logic
Stop using the "Factory" timezone. Programs will use UTC if localtime is
missing. Not installing the Factory timezone as /etc/localtime will
allow us to more easily detect if /etc/localtime exists and is valid.

If /etc/localtime exists as a regular file, copy the new timezone file
over it as was done previously. Emit a warning message encouraging the
user to remove the file.

If /etc/localtime does not exist, but we have a timezone configured in
/etc/timezone, create a symlink and remove /etc/timezone.

The end result of this should be that new installs default to UTC.
If users create /etc/timezone according to the handbook, a symlink will
be created at /etc/localtime and /etc/timezone will be removed.

Closes: https://github.com/gentoo/gentoo/pull/20050
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2021-03-22 15:04:56 -04:00
..
…
…
…
…
2021-03-04 22:28:49 +01:00
…
2021-02-20 10:23:51 +00:00
…
…
2021-03-06 19:31:07 +00:00
2021-03-03 20:00:58 +00:00
…
…
…
2021-03-16 17:42:16 +01:00