chiark / gitweb /
do not create /dev/rtc symlink, let systemd search for it if needed
authorKay Sievers <kay@vrfy.org>
Wed, 24 Apr 2013 17:12:44 +0000 (19:12 +0200)
committerKay Sievers <kay@vrfy.org>
Wed, 24 Apr 2013 17:20:51 +0000 (19:20 +0200)
commit2b3c81b02fa5dd47b19558c7684e113f36a48486
treef4e9213422c15508b540275d6002d03691982842
parent83cb95b530ca5ae17bd9249774940840a4bbb667
do not create /dev/rtc symlink, let systemd search for it if needed

The export of the RTCs hctosys flag is uneccesary, the kernel takes care
of the persistemt clock management itself, without any need for:
  CONFIG_RTC_HCTOSYS=y
  CONFIG_RTC_HCTOSYS_DEVICE="rtc0"

"Chaotic hardware platforms" without native kernel persistent clock
support will find the proper RTC with the logic rtc_open() without
the need for a custom symlink.
rules/50-udev-default.rules
src/shared/hwclock.c