mirror of
https://git.yoctoproject.org/poky
synced 2026-07-04 14:13:38 +02:00
hwclock.sh had default update-rc parameters which made it run after other tasks that work with the clock such as connman. This causes a time obtained by NTP to be clobbered by a potentially incorrect time in the RTC. Provide non-default INITSCRIPT_PARAMS to have hwclock.sh run during the rc startup before runlevel initscripts start. (From OE-Core rev: 0f8cd527966f22c3fa19d6efd7ff1524f3630976) Signed-off-by: Chris Elledge <celledge@siteworx.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3012bac35ada9a9f66d9e6e2fecaee09527b9d44) Signed-off-by: Steve Sakoman <steve@sakoman.com>