diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-03-23 04:02:52 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-03-23 04:02:52 +0000 |
commit | 111bb20d3b9479e3fb2126dcf4715d0680f7356c (patch) | |
tree | a87ef5d0a1ff3fb5b2fa76fb356de158624e4532 /chapter06 | |
parent | 2d3b3dfcb0913c8d34bc709b9320f7d92d32b9cc (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/eudev.xml | 22 |
1 files changed, 21 insertions, 1 deletions
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</userinput></screen> <screen><userinput remap="install">make install</userinput></screen> -<para>Finally, install the man pages:</para> +<para>Now, install the man pages:</para> <screen><userinput remap="install">tar -xvf ../eudev-1.5.1-manpages.tar.bz2 -C /usr/share</userinput></screen> + <para>Finally, create some custom rules that are not covered as a part of the + defaults:</para> + +<screen><userinput remap="install">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</userinput></screen> + </sect2> <sect2 id="contents-eudev" role="content"> |