Changeset 18da154 for chapter05/udev.xml


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, 12.2, 12.2-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/loongarch-12.2, xry111/mips64el, xry111/multilib, 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
  • chapter05/udev.xml

    rcb626e2b r18da154  
    3232<title>Installation of Udev</title>
    3333
    34 <para>By default, the permissions udev assigns to nodes are all uniform,
    35 being owned by user root, group root, and only accessible to root. As you
    36 can easily imagine, this isn't ideal. Give it a much better configuration
    37 by applying the following patch:</para>
    38 
    39 <screen><userinput>patch -Np1 -i ../udev-&udev-version;-config-1.patch</userinput></screen>
    40 
    4134<para>The udevstart program hardcodes the path to the udev program in itself,
    4235which is bad since we install udev in a non-standard location. Fix this by
     
    5447<screen><userinput>make prefix=/tools etcdir=/tools/etc</userinput></screen>
    5548
    56 <para>Generate Udev's main configuration file:</para>
     49<para>Install it:</para>
    5750
    58 <screen><userinput>make udevdir=/dev etc/udev/udev.conf</userinput></screen>
     51<screen><userinput>make DESTDIR=/tools udevdir=/dev install</userinput></screen>
    5952
    60 <para>Finally, install it:</para>
     53<para>Udev's configuration is far from ideal by default, so we install our own
     54configuration files here:</para>
    6155
    62 <screen><userinput>make DESTDIR=/tools install</userinput></screen>
     56<screen><userinput>cp ../udev-config-1.permissions /tools/etc/udev/permissions.d/00-lfs.permissions
     57cp ../udev-config-1.rules /tools/etc/udev/rules.d/00-lfs.rules</userinput></screen>
    6358
    6459</sect2>
Note: See TracChangeset for help on using the changeset viewer.