Which package in Yocto core-image-minimal.bb handles automatic NTP synchronization?

Hello guys @Middleware & OS , I'm managing this system time on a Yocto-based Linux distribution that's Zeus release using NTP. Without me installing ntpdate, the system automatically synchronizes with an unknown NTP server when connected to the internet via WiFi. Disconnecting stops synchronization, indicating a built-in NTP client. Given that the distribution is gotten from core-image-minimal.bb, which package provides this NTP client?
Solution:
it picks the ntp from those options
Jump to solution
9 Replies
zuka
zuka6mo ago
systemd-timesyncd present in the systemd- service list?
Marvee Amasi
Marvee Amasi6mo ago
@zuka Yh, systemd-timesyncd is listed in systemd-service list. The built-in NTP client is likely systemd-timesyncd
zuka
zuka6mo ago
so are you able to check the dependency list for this systemd-timesyncd?
Marvee Amasi
Marvee Amasi6mo ago
Oh , that makes sense. Thanks for the heads up that's definitely something I should look into. But do you have any experience with checking which specific NTP server systemd-timesyncd uses? Want to see where it's grabbing the time from. @zuka
zuka
zuka6mo ago
can you share the content of /etc/systemd/timesyncd.conf ?
Marvee Amasi
Marvee Amasi6mo ago
Okay , a moment
Marvee Amasi
Marvee Amasi6mo ago
# NTP=pool.ntp.org ;
FallbackNTP=0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org

[Time]
#Stub = yes ;
# NTP=pool.ntp.org ;
FallbackNTP=0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org

[Time]
#Stub = yes ;
Solution
zuka
zuka6mo ago
it picks the ntp from those options
Marvee Amasi
Marvee Amasi6mo ago
Okay thanks
Want results from more Discord servers?
Add your server