diff options
author | DJ Lucas <dj@linuxfromscratch.org> | 2008-10-15 02:09:26 +0000 |
---|---|---|
committer | DJ Lucas <dj@linuxfromscratch.org> | 2008-10-15 02:09:26 +0000 |
commit | d75c1237e7ab8e4a6ad713f922f1e451ed7902a9 (patch) | |
tree | 5fd08f2c9c733505a7007908dbbd556ebeab586c | |
parent | c49647b10ac25ec57bb0f956f92cf3f36995aa47 (diff) |
Updated udev instructions following upstream recommendations.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8662 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 10 | ||||
-rw-r--r-- | chapter06/udev.xml | 27 | ||||
-rw-r--r-- | general.ent | 4 |
3 files changed, 17 insertions, 24 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4e325cf83..87e3830d5 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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> diff --git a/chapter06/udev.xml b/chapter06/udev.xml index 4a1b2c1ca..a2c1a84ec 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -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. diff --git a/general.ent b/general.ent index 9372fcb6f..ce9a5ee47 100644 --- a/general.ent +++ b/general.ent @@ -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}]" --> |