From 111bb20d3b9479e3fb2126dcf4715d0680f7356c Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 23 Mar 2014 04:02:52 +0000 Subject: Update to eudev-1.5.3 and add /etc/udev/rules.d/55-lfs.rules Update to man-pages-3.63. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10514 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/eudev.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'chapter06') diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index 0cbd6db36..e224a40d0 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -86,10 +86,30 @@ mkdir -pv /etc/udev/rules.d make install -Finally, install the man pages: +Now, install the man pages: tar -xvf ../eudev-1.5.1-manpages.tar.bz2 -C /usr/share + Finally, create some custom rules that are not covered as a part of the + defaults: + +cat > /etc/udev/rules.d/55-lfs.rules << "EOF" +# /etc/udev/rules.d/55-lfs.rules: Rule definitions for LFS. + +# Core kernel devices + +# This causes the system clock to be set as soon as /dev/rtc becomes available. +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 + +KERNEL=="ippp[0-9]*", GROUP="dialout" +KERNEL=="isdn[0-9]*", GROUP="dialout" +KERNEL=="isdnctrl[0-9]*", GROUP="dialout" +KERNEL=="dcbri[0-9]*", GROUP="dialout" +EOF + -- cgit v1.2.3-54-g00ecf