Changeset 6e41459 for chapter05/udev.xml
- Timestamp:
- 08/08/2004 02:10:39 AM (20 years ago)
- Branches:
- 6.0
- Children:
- ef13657
- Parents:
- 78349b7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/udev.xml
r78349b7 r6e41459 21 21 </segmentedlist> 22 22 23 <!-- 23 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/udev.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/> 25 -->26 25 27 26 </sect2> … … 30 29 <title>Installation of Udev</title> 31 30 32 <para>The <command>udevstart</command> program hardcodes the path 33 t o the <command>udev</command> program in itself, which is bad since we34 i nstall <command>udev</command> in a non-standard location. Fix this by35 running the following:</para>31 <para>The <command>udevstart</command> program hardcodes the path to 32 the <command>udev</command> program in itself, which would cause 33 issues since <command>udev</command> was installed in a non-standard 34 location. Fix this by running the following:</para> 36 35 37 36 <screen><userinput>sed -i 's@/sbin/udev@/tools/sbin/udev@g' udevstart.c</userinput></screen> 38 37 39 <para>Also assure that <command>udev</command> knows the correct location to look for its38 <para>Also ensure that <command>udev</command> knows the correct location to look for its 40 39 configuration files:</para> 41 40 … … 46 45 <screen><userinput>make prefix=/tools etcdir=/tools/etc</userinput></screen> 47 46 48 <para>Install it:</para>47 <para>Install the package:</para> 49 48 50 49 <screen><userinput>make DESTDIR=/tools udevdir=/dev install</userinput></screen> 51 50 52 <para>Udev's configuration is far from ideal by default, so we install our own53 configuration files here:</para>51 <para>Udev's configuration is far from ideal by default, so install 52 LFS specific configuration files here:</para> 54 53 55 54 <screen><userinput>cp ../udev-config-2.permissions /tools/etc/udev/permissions.d/00-lfs.permissions … … 63 62 64 63 </sect1> 64
Note:
See TracChangeset
for help on using the changeset viewer.