r5749 - in trunk/BOOK: general/sysutils introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Mar 26 13:24:07 PST 2006


Author: randy
Date: 2006-03-26 14:24:05 -0700 (Sun, 26 Mar 2006)
New Revision: 5749

Modified:
   trunk/BOOK/general/sysutils/pciutils.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Applied a patch sent in by Chris Staub to suppress some unneeded screen output by the update-pciids command

Modified: trunk/BOOK/general/sysutils/pciutils.xml
===================================================================
--- trunk/BOOK/general/sysutils/pciutils.xml	2006-03-26 20:13:16 UTC (rev 5748)
+++ trunk/BOOK/general/sysutils/pciutils.xml	2006-03-26 21:24:05 UTC (rev 5749)
@@ -67,7 +67,8 @@
     <para>Install <application>PCI Utilities</application> by
     running the following commands:</para>
 
-<screen><userinput>make PREFIX=/usr</userinput></screen>
+<screen><userinput>sed -i 's/null ;/null 2>\&1 ;/' update-pciids.sh &&
+make PREFIX=/usr</userinput></screen>
 
     <para>This package does not come with a test suite.</para>
 
@@ -85,6 +86,18 @@
 
   </sect2>
 
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para><command>sed -i 's/null ;/null 2>\&1 ;/'
+    update-pciids.sh</command>: This command suppresses some unneeded screen
+    output from the <command>update-pciids</command> command if you don't have
+    either <application>Lynx</application> or <application>Wget</application>
+    installed by redirecting the stderr output of the embedded
+    <command>which</command> command to <filename>/dev/null</filename>.</para>
+
+  </sect2>
+
   <sect2 role="configuration">
     <title>Configuring PCI Utilities</title>
 
@@ -93,8 +106,9 @@
     <command>update-pciids</command> as the <systemitem
     class="username">root</systemitem> user. This program requires the
     <xref linkend='which'/> script or program to find <xref linkend='wget'/>
-    or <xref linkend='lynx'/> which are used to fetch the most current file, and
-    then places it in <filename class='directory'>/usr/share</filename>.</para>
+    or <xref linkend='lynx'/> which are used to fetch the most current file,
+    and then replace the existing file in
+    <filename class='directory'>/usr/share</filename>.</para>
 
   </sect2>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2006-03-26 20:13:16 UTC (rev 5748)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2006-03-26 21:24:05 UTC (rev 5749)
@@ -45,6 +45,10 @@
       <para>March 26th, 2006</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Applied a patch sent in by Chris Staub to suppress
+          some unneeded screen output by the update-pciids command.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Updated to Tcl-8.4.12 and Tk-8.4.12.</para>
         </listitem>
       </itemizedlist>




More information about the blfs-book mailing list