Ticket #2361: util-linux.patch

File util-linux.patch, 2.1 KB (added by chris@…, 16 years ago)

Update Util-linux-ng instructions

  • trunk/BOOK/chapter05/util-linux-ng.xml

     
    5050    <para>Only a few of the utilities contained in this package need to be
    5151    built:</para>
    5252
    53 <screen><userinput remap="make">make BLKID_LIBS="-lblkid -luuid" -C mount mount umount
    54 make -C text-utils more</userinput></screen>
     53<screen><userinput remap="make">make -C mount mount umount
     54make -C text-utils more
     55make -C disk-utils mkswap</userinput></screen>
    5556
    56     <variablelist>
    57       <title>The meaning of the make parameter:</title>
    58 
    59       <varlistentry>
    60         <term><parameter>BLKID_LIBS="-lblkid -luuid"</parameter></term>
    61         <listitem>
    62           <para>When building only a subset of the package, the
    63           <filename class="libraryfile">libuuid.a</filename> library is not
    64           pulled into the build as it is supposed to. This command overrides
    65           the default from the <filename>Makefile</filename>.</para>
    66         </listitem>
    67       </varlistentry>
    68 
    69     </variablelist>
    70 
    7157    <!-- Not sure why this is in there. There is no test suite. Though
    7258         running 'make check' may build these programs, there is no
    7359         testing done.
     
    8167
    8268    <para>Copy these programs to the temporary tools directory:</para>
    8369
    84 <screen><userinput remap="install">cp -v mount/{,u}mount text-utils/more /tools/bin</userinput></screen>
     70<screen><userinput remap="install">cp -v mount/{,u}mount text-utils/more disk-utils/mkswap /tools/bin</userinput></screen>
    8571
    8672  </sect2>
    8773
  • trunk/BOOK/appendices/dependencies.xml

     
    354354        <segtitle>&testsuites;</segtitle>
    355355
    356356        <seglistitem>
    357           <seg>Diffutils</seg>
     357          <seg>Diffutils, Util-linux-ng</seg>
    358358        </seglistitem>
    359359      </segmentedlist>
    360360