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?9 Replies
systemd-timesyncd present in the systemd- service list?
@zuka Yh,
systemd-timesyncd
is listed in systemd-service list
. The built-in NTP client is likely systemd-timesyncdso are you able to check the dependency list for this systemd-timesyncd?
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
can you share the content of /etc/systemd/timesyncd.conf ?
Okay , a moment
Solution
it picks the ntp from those options
Okay thanks