Author: dj
Date: 2008-10-14 20:09:26 -0600 (Tue, 14 Oct 2008)
New Revision: 8662

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/udev.xml
   trunk/BOOK/general.ent
Log:
Updated udev instructions following upstream recommendations.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2008-10-13 13:32:41 UTC (rev 8661)
+++ trunk/BOOK/chapter01/changelog.xml  2008-10-15 02:09:26 UTC (rev 8662)
@@ -38,6 +38,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>
         <listitem>

Modified: trunk/BOOK/chapter06/udev.xml
===================================================================
--- trunk/BOOK/chapter06/udev.xml       2008-10-13 13:32:41 UTC (rev 8661)
+++ trunk/BOOK/chapter06/udev.xml       2008-10-15 02:09:26 UTC (rev 8662)
@@ -60,8 +60,9 @@
 
     <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 @@
 
 <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.

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent      2008-10-13 13:32:41 UTC (rev 8661)
+++ trunk/BOOK/general.ent      2008-10-15 02:09:26 UTC (rev 8662)
@@ -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&ndash;2008">
 <!ENTITY milestone "7.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or 
"x.y[-pre{x}]" -->

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to