AGL demo image does not set system clock automatically on certain LAN connections
Description
When using AGL demo on LAN networks with DHCP servers that are not providing hte ntp-servers field in the provided lease, there will be no internet clock synchronization. This is specially bad in Raspberry PI boards, as they do not have a persistent clock in the board.
This is likely a regression in kirkstone, as connman package has now put the configuration in an independent package connman-conf that is not installed by default in any AGL demo.
Environment
None
Activity
Show:
Marius Vlad
June 28, 2022 at 3:09 PM
Yeah, LGTM now.
José Dapena Paz
June 28, 2022 at 2:53 PM
Submitted patch was broken. I will also check the cluster issue before landing.
Marius Vlad
June 27, 2022 at 1:16 PM
(edited)
I've hit a build failure with cluster-demo-platform which tries to do a sed '' that missing connman main.conf, and I think this should also fix that.
José Dapena Paz
June 21, 2022 at 9:00 AM
Provided a fix:
It adds connman-conf dependency to package-agl-core-connectivity.
It makes sure the main.conf file is copied, as the upstream package only copies it for qemu targets.
José Dapena Paz
June 21, 2022 at 7:45 AM
connman-conf provided by AGL includes a reference to automatically set a fallback NTP. As this is not installed, it is broken in our demos.
When using AGL demo on LAN networks with DHCP servers that are not providing hte ntp-servers field in the provided lease, there will be no internet clock synchronization. This is specially bad in Raspberry PI boards, as they do not have a persistent clock in the board.
This is likely a regression in kirkstone, as connman package has now put the configuration in an independent package connman-conf that is not installed by default in any AGL demo.