Author: bryan
Date: 2009-09-25 19:44:50 -0600 (Fri, 25 Sep 2009)
New Revision: 9076

Modified:
   trunk/BOOK/udev-config/55-lfs.rules
   trunk/BOOK/udev-config/ChangeLog
Log:
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).



Modified: trunk/BOOK/udev-config/55-lfs.rules
===================================================================
--- trunk/BOOK/udev-config/55-lfs.rules 2009-09-24 19:37:49 UTC (rev 9075)
+++ trunk/BOOK/udev-config/55-lfs.rules 2009-09-26 01:44:50 UTC (rev 9076)
@@ -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
 

Modified: trunk/BOOK/udev-config/ChangeLog
===================================================================
--- trunk/BOOK/udev-config/ChangeLog    2009-09-24 19:37:49 UTC (rev 9075)
+++ trunk/BOOK/udev-config/ChangeLog    2009-09-26 01:44:50 UTC (rev 9076)
@@ -1,3 +1,13 @@
+2009-09-25     Bryan Kadzban <[email protected]>
+       * 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 <[email protected]>
+       * 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 <[email protected]>
        * 55-lfs.rules: Adopt udev permissions for random, urandom, kmsg, and
          input devices (including psaux, which probably doesn't exist anymore

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to