Benjamin Drung pushed to branch sid at GNU Libc Maintainers / tzdata
Commits: 04d5f150 by Benjamin Drung at 2023-02-06T14:06:33+01:00 config/postinst/postrm: Replace spaces by tabs Using tabs instead of spaces will save some disk space. Signed-off-by: Benjamin Drung <[email protected]> - - - - - 4ccc765d by Benjamin Drung at 2023-02-06T14:48:02+01:00 Stop creating /etc/timezone /etc/localtime got turned into a symlink in 2016a-1 (see bug #803144), now that /usr gets mounted from the initrd. This now leaves /etc/timezone completely redundant, as you should get exactly the same answer by readlink /etc/localtime -- and if you do not get the same answer, you have an inconsistency. /etc/localtime obviously "wins" for the actual clock (as that's what programs are reading), but you presumably get the /etc/timezone value in some "system configuration tool" packages which read /etc/timezone first. As /etc/timezone is a Debianism and /etc/localtime the distro-agnostic standard, stop creating /etc/timezone. But keep updating /etc/timezone if present. Closes: #822733 Signed-off-by: Benjamin Drung <[email protected]> - - - - - 3edcce59 by Benjamin Drung at 2023-02-06T15:46:45+01:00 Remove /etc/timezone on upgrades as a one-time action /etc/localtime got turned into a symlink in 2016a-1 (see bug #803144), now that /usr gets mounted from the initrd. This now leaves /etc/timezone completely redundant, as you should get exactly the same answer by readlink /etc/localtime -- and if you do not get the same answer, you have an inconsistency. /etc/localtime obviously "wins" for the actual clock (as that's what programs are reading), but you presumably get the /etc/timezone value in some "system configuration tool" packages which read /etc/timezone first. As /etc/timezone is a Debianism and /etc/localtime the distro-agnostic standard, remove /etc/timezone on upgrades as a one-time action. Closes: #822733 Signed-off-by: Benjamin Drung <[email protected]> - - - - - 884739a6 by Benjamin Drung at 2023-02-06T18:11:50+01:00 tzdata.postinst: Introduce TIMEZONE variable Signed-off-by: Benjamin Drung <[email protected]> - - - - - ad8e4391 by Benjamin Drung at 2023-02-06T18:15:35+01:00 tzdata.postinst: Only update /etc/localtime symlink if changed Signed-off-by: Benjamin Drung <[email protected]> - - - - - eea83fd7 by Benjamin Drung at 2023-02-06T18:39:54+01:00 Remove /etc/timezone on purge LP: #1683595 Signed-off-by: Benjamin Drung <[email protected]> - - - - - cf88896f by Benjamin Drung at 2023-02-06T23:18:07+01:00 Test debconf configuration with autopkgtest Signed-off-by: Benjamin Drung <[email protected]> - - - - - 5 changed files: - debian/tests/control - + debian/tests/debconf - debian/tzdata.config - debian/tzdata.postinst - debian/tzdata.postrm View it on GitLab: https://salsa.debian.org/glibc-team/tzdata/-/compare/28dd65fe2bd68e5008c2bad969b67a43f755a785...cf88896fa51b929b55dc7c8f860a273ccaadd321 -- View it on GitLab: https://salsa.debian.org/glibc-team/tzdata/-/compare/28dd65fe2bd68e5008c2bad969b67a43f755a785...cf88896fa51b929b55dc7c8f860a273ccaadd321 You're receiving this email because of your account on salsa.debian.org.

