zoneinfo: Update /etc/localtime when upgrading timezones.
authorSascha Wildner <saw@online.de>
Mon, 24 Aug 2020 19:04:04 +0000 (21:04 +0200)
committerSascha Wildner <saw@online.de>
Mon, 24 Aug 2020 19:04:04 +0000 (21:04 +0200)
commitd87a94cbd2d9f228fef8042f1d6908b6467ae057
tree887a4b0c65cbe9f7da3590085851d7786ed1e9b5
parent81f3ad45b59db8fbb42e7bb7a0516415a5852226
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)
Makefile.inc1
Makefile_upgrade.inc
etc/mtree/BSD.usr.dist
share/zoneinfo/Makefile
share/zoneinfo/dragonfly [deleted file]