Applied a patch sent in by Chris Staub to suppress some unneeded screen output by the update-pciids command

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5749 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2006-03-26 21:24:05 +00:00
parent 88dd47025b
commit 5d28679b0f
2 changed files with 21 additions and 3 deletions

View File

@ -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>\&amp;1 ;/' update-pciids.sh &amp;&amp;
make PREFIX=/usr</userinput></screen>
<para>This package does not come with a test suite.</para>
@ -85,6 +86,18 @@ install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i 's/null ;/null 2>\&amp;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 @@ install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
<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>

View File

@ -44,6 +44,10 @@
<listitem>
<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>