Changeset 18da154 for chapter06


Ignore:
Timestamp:
06/15/2004 07:28:46 PM (20 years ago)
Author:
Zack Winkles <winkie@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
01b2d1b3
Parents:
cb626e2b
Message:

Dropped the Udev patch in favor of separate configuration files
Properly recreate /etc/hotplug.d/default/udev.hotplug

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3796 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/udev.xml

    rcb626e2b r18da154  
    2323<title>Installation of Udev</title>
    2424
    25 <para>By default, the permissions udev assigns to nodes are all uniform,
    26 being owned by user root, group root, and only accessible to root. As you
    27 can easily imagine, this isn't ideal. Give it a much better configuration
    28 by applying the following patch:</para>
    29 
    30 <screen><userinput>patch -Np1 -i ../udev-&udev-version;-config-1.patch</userinput></screen>
    31 
    32 <para>Now compile Udev:</para>
     25<para>First compile Udev:</para>
    3326
    3427<screen><userinput>make udevdir=/dev</userinput></screen>
    3528
    36 <para>Finally, install it:</para>
     29<para>Install it:</para>
    3730
    3831<screen><userinput>make udevdir=/dev install</userinput></screen>
     32
     33<para>Ensure that Hotplug addresses Udev correctly:</para>
     34
     35<screen><userinput>ln -sf /sbin/udev /etc/hotplug.d/default/udev.hotplug</userinput></screen>
     36
     37<para>Udev's configuration is far from ideal by default, so we install our own
     38configuration files here:</para>
     39
     40<screen><userinput>cp ../udev-config-1.permissions /etc/udev/permissions.d/00-lfs.permissions
     41cp ../udev-config-1.rules /etc/udev/rules.d/00-lfs.rules</userinput></screen>
    3942
    4043</sect2>
Note: See TracChangeset for help on using the changeset viewer.