In my Yocto distribution is installed the systemd-timesyncd
service and the program timedatectl
.
I have configured a UTC NTP Server in the file /etc/systemd/timesyncd.conf
. The systemd-timesyncd
service works correctly and synchronizes date and time with the NTP server and so my system time is synchronized with the Universal Time (UTC).
I need to set my timezone and I know that I can use the command timedatectl (Here there is the manual page of timedatectl command).
In particular the command to execute is:
timedatectl set-timezone <timezone>
But when I execute:
timedatectl list-timezones
to get the list of all timezones available the output of the command is:
> timedatectl list-timezones
UTC
I don't find any file /usr/share/zoneinfo
or /usr/zoneinfo
.
I think I miss installing something in my distribution but I don't know what..
Thanks