]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
busybox: move hwclock init earlier in startup
authorChris Elledge <celledge@siteworx.io>
Fri, 31 Mar 2023 20:44:09 +0000 (16:44 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Apr 2023 16:26:49 +0000 (17:26 +0100)
commit3012bac35ada9a9f66d9e6e2fecaee09527b9d44
tree6c50fbe622b68af8b8dd71534e79161dca9497e8
parent67886a8473c511c8ab3db2e4587cc5a070979d11
busybox: move hwclock init earlier in startup

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.

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>
meta/recipes-core/busybox/busybox.inc