[lfs-book] r10800 - in trunk/BOOK: . chapter01 chapter06

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Sat Nov 29 12:21:24 PST 2014


Author: bdubbs
Date: Sat Nov 29 12:21:24 2014
New Revision: 10800

Log:
Reformat eudev to support jhalfs

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/creatingdirs.xml
   trunk/BOOK/chapter06/eudev.xml
   trunk/BOOK/general.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml	Fri Nov 28 06:40:58 2014	(r10799)
+++ trunk/BOOK/chapter01/changelog.xml	Sat Nov 29 12:21:24 2014	(r10800)
@@ -36,6 +36,15 @@
     </listitem>
 -->
     <listitem>
+      <para>2014-11-29</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Reformat eudev to support jhalfs.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2014-11-24</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter06/creatingdirs.xml
==============================================================================
--- trunk/BOOK/chapter06/creatingdirs.xml	Fri Nov 28 06:40:58 2014	(r10799)
+++ trunk/BOOK/chapter06/creatingdirs.xml	Sat Nov 29 12:21:24 2014	(r10800)
@@ -13,7 +13,7 @@
   <para>It is time to create some structure in the LFS file system. Create a
   standard directory tree by issuing the following commands:</para>
 
-<screen><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib,mnt,opt}
+<screen><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib/firmware,mnt,opt}
 mkdir -pv /{media/{floppy,cdrom},sbin,srv,var}
 install -dv -m 0750 /root
 install -dv -m 1777 /tmp /var/tmp

Modified: trunk/BOOK/chapter06/eudev.xml
==============================================================================
--- trunk/BOOK/chapter06/eudev.xml	Fri Nov 28 06:40:58 2014	(r10799)
+++ trunk/BOOK/chapter06/eudev.xml	Sat Nov 29 12:21:24 2014	(r10800)
@@ -72,21 +72,18 @@
 <para>Create some directories now that are needed for tests, but
 will also be used as a part of installation:</para>
 
-<screen><userinput remap="test">mkdir -pv /lib/{firmware,udev}
-mkdir -pv /lib/udev/rules.d
+<screen><userinput remap="test">mkdir -pv /lib/udev/rules.d
 mkdir -pv /etc/udev/rules.d</userinput></screen>
 
-<para>To test the results, run issue:</para>
+<para>To test the results, issue:</para>
 
 <screen><userinput remap="test">make check</userinput></screen>
 
-    <para>Install the package and create the initial
-    <filename>/etc/udev/hwdb.bin</filename> file:</para>
+    <para>Install the package:</para>
 
-<screen><userinput remap="install">make install
-udevadm hwdb --update</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
 
-<para>Now, install the man pages:</para>
+    <para>Now, install the man pages:</para>
 
 <screen><userinput remap="install">tar -xvf ../eudev-&eudev-version;-manpages.tar.bz2 -C /usr/share</userinput></screen>
 
@@ -98,6 +95,32 @@
 
   </sect2>
 
+  <sect2 id="conf-eudev" role="configuration">
+    <title>Configuring Eudev</title>
+
+    <indexterm zone="conf-eudev">
+      <primary sortas="a-Eudev">Eudev</primary>
+      <secondary>configuring</secondary>
+    </indexterm>
+
+    <indexterm zone="conf-eudev">
+      <primary sortas="e-/etc/udev/hwdb.bin">/etc/udev/hwdb.bin</primary>
+    </indexterm>
+
+    <para>Information about hardware devices is maintained in the
+    <filename class="directory">/etc/udev/hwdb.d</filename> and
+    <filename class="directory">/usr/lib/udev/hwdb.d</filename> directories.
+    <application>Eudev</application> needs that information to be compiled
+    into a binary database <filename>/etc/udev/hwdb.bin</filename>. Create the
+    initial database:</para>
+
+<screen><userinput>udevadm hwdb --update</userinput></screen>
+
+    <para>This command needs to be run each time the hardware information is
+    updated.</para>
+
+  </sect2>
+
   <sect2 id="contents-eudev" role="content">
     <title>Contents of Eudev</title>
 

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Fri Nov 28 06:40:58 2014	(r10799)
+++ trunk/BOOK/general.ent	Sat Nov 29 12:21:24 2014	(r10800)
@@ -1,6 +1,6 @@
-<!ENTITY version         "SVN-20141124">
+<!ENTITY version         "SVN-20141129">
 <!ENTITY short-version   "svn">  <!-- Used in dbus chapter, change to x.y for release -->
-<!ENTITY releasedate     "November 24, 2014">
+<!ENTITY releasedate     "November 29, 2014">
 <!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not – -->
 <!ENTITY milestone       "7.7">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->


More information about the lfs-book mailing list