[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][glibc-team/tzdata][sid] 4 commits: Validate timezone using the debconf database instead of the zones files



Title: GitLab

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 <aurelien@aurel32.net>
    
  • 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 <aurelien@aurel32.net>
    
  • 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 <aurelien@aurel32.net>
    
  • dc534ad0
    by Aurelien Jarno at 2025-01-08T21:10:40+01:00
    Release tzdata 2024b-5
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    

3 changed files:


Reply to: