Changeset 18da154 for chapter05/udev.xml
- Timestamp:
- 06/15/2004 07:28:46 PM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/udev.xml
rcb626e2b r18da154 32 32 <title>Installation of Udev</title> 33 33 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 you36 can easily imagine, this isn't ideal. Give it a much better configuration37 by applying the following patch:</para>38 39 <screen><userinput>patch -Np1 -i ../udev-&udev-version;-config-1.patch</userinput></screen>40 41 34 <para>The udevstart program hardcodes the path to the udev program in itself, 42 35 which is bad since we install udev in a non-standard location. Fix this by … … 54 47 <screen><userinput>make prefix=/tools etcdir=/tools/etc</userinput></screen> 55 48 56 <para> Generate Udev's main configuration file:</para>49 <para>Install it:</para> 57 50 58 <screen><userinput>make udevdir=/dev etc/udev/udev.conf</userinput></screen>51 <screen><userinput>make DESTDIR=/tools udevdir=/dev install</userinput></screen> 59 52 60 <para>Finally, install it:</para> 53 <para>Udev's configuration is far from ideal by default, so we install our own 54 configuration files here:</para> 61 55 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 57 cp ../udev-config-1.rules /tools/etc/udev/rules.d/00-lfs.rules</userinput></screen> 63 58 64 59 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.