mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
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>