mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Updated udev instructions following upstream recommendations.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8662 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
c49647b10a
commit
d75c1237e7
@ -37,6 +37,16 @@
|
||||
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>2008-10-14</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[dj] - Modified udev instructions following upstream
|
||||
recommendations.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2008-10-13</para>
|
||||
<itemizedlist>
|
||||
|
@ -60,8 +60,9 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
|
||||
|
||||
<para>Prepare the package for compilation:</para>
|
||||
|
||||
<screen><userinput remap="configure">./configure --prefix=/ --includedir=/usr/include \
|
||||
--datarootdir=/usr/share</userinput></screen>
|
||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||
--exec-prefix= \
|
||||
--sysconfdir=/etc</userinput></screen>
|
||||
|
||||
<para>Compile the package:</para>
|
||||
|
||||
@ -73,35 +74,17 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
|
||||
|
||||
<screen><userinput remap="install">make install</userinput></screen>
|
||||
|
||||
<para>Recreate the library <filename class="extension">.so</filename> files
|
||||
currently in the <filename class="directory">/lib</filename> directory in
|
||||
<filename class="directory">/usr/lib</filename>, then remove the
|
||||
originals:</para>
|
||||
|
||||
<screen><userinput remap="install">ln -sv ../../lib/$(readlink /lib/libudev.so) \
|
||||
/usr/lib/libudev.so
|
||||
ln -sv ../../lib/$(readlink /lib/libvolume_id.so) \
|
||||
/usr/lib/libvolume_id.so
|
||||
rm -v /lib/lib{udev,volume_id}.so</userinput></screen>
|
||||
|
||||
<para>Move the <filename class="extension">.pc</filename> files currently
|
||||
in the <filename class="directory">/lib/pkgconfig</filename> directory to
|
||||
their proper place in <filename class="directory">/usr/lib</filename>:</para>
|
||||
|
||||
<screen><userinput remap="install">mv -v /lib/pkgconfig/lib{udev,volume_id}.pc /usr/lib/pkgconfig
|
||||
rmdir -v /lib/pkgconfig</userinput></screen>
|
||||
|
||||
<para>Udev has to be configured in order to work properly, as its default
|
||||
configuration does not cover all devices. First install two extra rules
|
||||
files from Udev to help support device-mapper and RAID setups:</para>
|
||||
|
||||
<screen><userinput remap="install">install -m644 -v rules/packages/64-*.rules \
|
||||
/etc/udev/rules.d/</userinput></screen>
|
||||
/lib/udev/rules.d/</userinput></screen>
|
||||
|
||||
<para>Now install a file to create symlinks for certain hand-held devices:</para>
|
||||
|
||||
<screen><userinput remap="install">install -m644 -v rules/packages/40-pilot-links.rules \
|
||||
/etc/udev/rules.d/</userinput></screen>
|
||||
/lib/udev/rules.d/</userinput></screen>
|
||||
|
||||
<!-- There are more files available in the packages/ directory, if we want
|
||||
to consider using them. Most are probably irrelevant to LFS though.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!ENTITY version "SVN-20081013">
|
||||
<!ENTITY releasedate "October 13, 2008">
|
||||
<!ENTITY version "SVN-20081014">
|
||||
<!ENTITY releasedate "October 14, 2008">
|
||||
<!ENTITY copyrightdate "1999–2008">
|
||||
<!ENTITY milestone "7.0">
|
||||
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
|
||||
|
Loading…
Reference in New Issue
Block a user