Ticket #1829: updatepciutils.patch

File updatepciutils.patch, 1.1 KB (added by Chris Staub, 16 years ago)

Patch for BLFS to fix this issue in the PCI Utilities instructions

  • trunk/BOOK/general/sysutils/pciutils.xml

     
    6767    <para>Install <application>PCI Utilities</application> by
    6868    running the following commands:</para>
    6969
    70 <screen><userinput>make PREFIX=/usr</userinput></screen>
     70<screen><userinput>sed -i 's@null ;@null 2\>\&amp;1 ;@g' update-pciids.sh &amp;&amp;
     71make PREFIX=/usr</userinput></screen>
    7172
    7273    <para>This package does not come with a test suite.</para>
    7374
     
    8586
    8687  </sect2>
    8788
     89  <sect2 role="commands">
     90    <title>Command Explanations</title>
     91
     92    <para><command>sed -i 's@null ;@null 2\>\&amp;1 ;@g' update-pciids.sh</command>:
     93    This command fixes a bug in <command>update-pciids</command> where it shows
     94    the error output of <command>which</command> if you don't have either
     95    Lynx or Wget. This command suppresses that output to avoid confusion.</para>
     96
     97  </sect2>
     98
    8899  <sect2 role="configuration">
    89100    <title>Configuring PCI Utilities</title>
    90101