Gentoo Archives: gentoo-dev

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: hwclock service in OpenRC
Date: Sat, 15 Dec 2018 14:36:24
Message-Id: 20181215173600.598ceefbdf0b0776efcf4849@gentoo.org
In Reply to: [gentoo-dev] rfc: hwclock service in OpenRC by William Hubbs
1 Hi!
2
3 On Thu, 13 Dec 2018 12:18:26 -0600 William Hubbs wrote:
4 > All,
5 >
6 > the hwclock service is Linux specific, so all of this applies only to
7 > OpenRC on Linux.
8 >
9 > OpenRC currently adds the hwclock service to the boot runlevel upstream.
10 > The linux kernel also has had a way for some time to handle the clock
11 > itself if you have an RTC.
12 >
13 > Is it reasonable to stop adding the hwclock service to the boot runlevel
14 > upstream and documenting the options and asking users to make that
15 > choice?
16
17 Yes, it is. CONFIG_RTC_HCTOSYS (and CONFIG_RTC_SYSTOHC) is
18 available in kernel for years and should be a preferred way to
19 handle the clock.
20
21 Best regards,
22 Andrew Savchenko

Replies

Subject Author
Re: [gentoo-dev] rfc: hwclock service in OpenRC Christopher Head <chead@×××××.ca>