Hi Arik,

On 1/4/22 1:15 PM, Arik Kleiman wrote:
> The thing is that ntpdate syncs system time to UTC 
>
> How can i set my system's time according to time zone?


If you're using systemd, you could use the timedatectl command:
https://linuxiac.com/how-to-set-timezone-and-sync-server-time-with-ntp-in-linux/

Otherwise, you can add the "tzdata" recipe to your image. It should
allow you to set the timezone that you want:
https://www.yoctoproject.org/pipermail/yocto/2018-October/042964.html

Cheers
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55720): https://lists.yoctoproject.org/g/yocto/message/55720
Mute This Topic: https://lists.yoctoproject.org/mt/88186305/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to