From 17b7b2447e28c8132aa1fc0876beebfa7f5881ad Mon Sep 17 00:00:00 2001 From: Bryan Kadzban Date: Sat, 26 Sep 2009 01:44:50 +0000 Subject: Duplicate the RTC-setting rule for non-rtc-class kernels. Move the assignment to MODE after the match on ACTION. Add a missing changelog entry (copied from svn log, then reworded). git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9076 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- udev-config/55-lfs.rules | 3 ++- udev-config/ChangeLog | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'udev-config') diff --git a/udev-config/55-lfs.rules b/udev-config/55-lfs.rules index 2959a2a13..8305ef633 100644 --- a/udev-config/55-lfs.rules +++ b/udev-config/55-lfs.rules @@ -3,7 +3,8 @@ # Core kernel devices # This causes the system clock to be set as soon as /dev/rtc becomes available. -SUBSYSTEM=="rtc", MODE="0644", ACTION=="add", RUN+="/etc/rc.d/init.d/setclock start" +SUBSYSTEM=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start" +KERNEL=="rtc", ACTION=="add", MODE="0644", RUN+="/etc/rc.d/init.d/setclock start" # Comms devices diff --git a/udev-config/ChangeLog b/udev-config/ChangeLog index 0441d331e..2fe3d5442 100644 --- a/udev-config/ChangeLog +++ b/udev-config/ChangeLog @@ -1,3 +1,13 @@ +2009-09-25 Bryan Kadzban + * 55-lfs.rules: Make the RTC rule (which runs setclock) work for people + that don't use the RTC-class driver -- add another copy of the rule, + using KERNEL=="rtc" instead of SUBSYSTEM=="rtc". Also move the ACTION + match before the assignment to MODE. + +2009-05-23 Bruce Dubbs + * 55-lfs.rules: Set the rtc by udev upon boot. Removed aio device from + udev configuration so defaults are used. + 2009-05-16 Bryan Kadzban * 55-lfs.rules: Adopt udev permissions for random, urandom, kmsg, and input devices (including psaux, which probably doesn't exist anymore -- cgit v1.2.3-54-g00ecf