CI: use /etc/localtime instead of /etc/timezone

/etc/timezone is a legacy debian specific file. Let's use localtime.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038849

* Related: #40414
This commit is contained in:
meskio 2025-01-13 19:48:20 +01:00
parent fa122efb61
commit 313e54befe
No known key found for this signature in database
GPG key ID: 52B8F5AC97A2DA86

View file

@ -14,7 +14,7 @@ variables:
.apt-template: &apt-template .apt-template: &apt-template
- export LC_ALL=C.UTF-8 - export LC_ALL=C.UTF-8
- export DEBIAN_FRONTEND=noninteractive - export DEBIAN_FRONTEND=noninteractive
- echo Etc/UTC > /etc/timezone - ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
- echo 'quiet "1";' - echo 'quiet "1";'
'APT::Install-Recommends "0";' 'APT::Install-Recommends "0";'
'APT::Install-Suggests "0";' 'APT::Install-Suggests "0";'