git: zoneinfo: Update /etc/localtime when upgrading timezones.
Sascha Wildner
swildner at crater.dragonflybsd.org
Mon Aug 24 12:04:11 PDT 2020
commit d87a94cbd2d9f228fef8042f1d6908b6467ae057
Author: Sascha Wildner <saw at online.de>
Date: Mon Aug 24 21:04:04 2020 +0200
zoneinfo: Update /etc/localtime when upgrading timezones.
* Add tzsetup(8) to the bootstrap-tools.
* Install the backward file to retain obsolete timezones as links
for backward compatibility. Remove all these timezones from
Makefile_upgrade.inc again. Also extend mtree/BSD.usr.dist for
this and remove the old 'dragonfly' file (which was only for UTC).
* After installing new timezones, run tzsetup -r to upgrade the user's
chosen timezone. Allow this to fail for quickworlders. It will start
working after the next full buildworld.
Taken-from: FreeBSD (with modifications)
Summary of changes:
Makefile.inc1 | 2 +-
Makefile_upgrade.inc | 25 -------------------------
etc/mtree/BSD.usr.dist | 10 ++++++++++
share/zoneinfo/Makefile | 26 +++++++++++++++++++++-----
share/zoneinfo/dragonfly | 3 ---
5 files changed, 32 insertions(+), 34 deletions(-)
delete mode 100644 share/zoneinfo/dragonfly
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d87a94cbd2d9f228fef8042f1d6908b6467ae057
--
DragonFly BSD source repository
More information about the Commits
mailing list