Re: [OE-core][PATCH v2] systemd: set better sane time at startup

2024-11-19 Thread Dan McGregor via lists.openembedded.org
On Wed, 13 Nov 2024 at 16:48, "Gaël PORTAY via lists.openembedded.org wrote: > > Alex, > > On Tue Nov 12, 2024 at 9:22 PM CET, Alexander Kanavin wrote: > > I'm sorry, this was probably already covered and I'm just forgetful, > > but why not do this in do_install? > > > > It was initially performed

Re: [OE-core][PATCH v2] systemd: set better sane time at startup

2024-11-13 Thread Gaël PORTAY via lists.openembedded.org
Alex, On Tue Nov 12, 2024 at 9:22 PM CET, Alexander Kanavin wrote: > I'm sorry, this was probably already covered and I'm just forgetful, > but why not do this in do_install? > It was initially performed by a rootfs post-command to mimic what does rootfs_update_timestamp() but for systemd. And yo

Re: [OE-core][PATCH v2] systemd: set better sane time at startup

2024-11-12 Thread Alexander Kanavin via lists.openembedded.org
I'm sorry, this was probably already covered and I'm just forgetful, but why not do this in do_install? Alex On Tue, 12 Nov 2024 at 20:22, Gaël PORTAY wrote: > > When systemd is started, it sets the system clock to epoch to ensure the > system clock is reasonably initialized if no working RTC. >

[OE-core][PATCH v2] systemd: set better sane time at startup

2024-11-12 Thread Gaël PORTAY via lists . openembedded . org
When systemd is started, it sets the system clock to epoch to ensure the system clock is reasonably initialized if no working RTC. As init process, systemd sets epoch very early to the more recent timestamp of[1]: - the build time of systemd (-Dtime-epoch) - the modification time ("mtime") of /v