Aurelien Jarno pushed to branch sid at GNU Libc Maintainers / tzdata


Commits:
7ecc390f by Aurelien Jarno at 2025-01-08T19:36:42+01:00
Validate timezone using the debconf database instead of the zones files

When apt-utils is installed or with apt >= 2.9.11, on the initial
installation, the tzdata.config maintainer script is launched before
dpkg unpacks the content of the package, so we can't check for files in
/usr/share/zoneinfo.

Instead use the db_metaget feature from debconf to get the list of
choices for each question, and validate the timezone against that.

Signed-off-by: Aurelien Jarno <[email protected]>

- - - - -
3f426960 by Aurelien Jarno at 2025-01-08T19:59:48+01:00
Only mark debconf templates as unseen if the timezone can't be validated

This prevents the debconf questions to be displayed twice in some cases,
while still making sure the users see the debconf questions if, for
instance, preseeded values are not valid.

Signed-off-by: Aurelien Jarno <[email protected]>

- - - - -
d2e03582 by Aurelien Jarno at 2025-01-08T20:11:59+01:00
Only create /etc/timezone if it already exists

This will allows us to eventually phase-out this file.

Signed-off-by: Aurelien Jarno <[email protected]>

- - - - -
dc534ad0 by Aurelien Jarno at 2025-01-08T21:10:40+01:00
Release tzdata 2024b-5

Signed-off-by: Aurelien Jarno <[email protected]>

- - - - -


3 changed files:

- debian/changelog
- debian/tzdata.config
- debian/tzdata.postinst


View it on GitLab: 
https://salsa.debian.org/glibc-team/tzdata/-/compare/b59aeb6f8fdf48b45598640a7f4f3cc461351314...dc534ad0296ff07bc58d43e30c1fd0cbb243a772

-- 
View it on GitLab: 
https://salsa.debian.org/glibc-team/tzdata/-/compare/b59aeb6f8fdf48b45598640a7f4f3cc461351314...dc534ad0296ff07bc58d43e30c1fd0cbb243a772
You're receiving this email because of your account on salsa.debian.org.


Reply via email to