diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/eudev.xml | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml index 82198e91a..b0fd145b3 100644 --- a/chapter06/eudev.xml +++ b/chapter06/eudev.xml @@ -89,25 +89,11 @@ mkdir -pv /etc/udev/rules.d</userinput></screen> <screen><userinput remap="install">tar -xvf ../eudev-&eudev-version;-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> + <para>Finally, install some custom rules and support files useful in an LFS + environment:</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> +<screen><userinput remap="install">tar -xvf ../&udev-lfs-version;.tar.bz2 +make -f &udev-lfs-version;/Makefile.lfs install</userinput></screen> </sect2> |