Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/util-linux.xml

    r1c57432 rd1f79ab  
    4242    <title>Installation of Util-linux</title>
    4343
     44    <note os="n">
     45      <para><command>findmnt</command>, and <command>lsblk</command> can
     46      utilize <filename class="libraryfile">libudev</filename> for WWN and serial
     47      number information. If this is desired, rebuild Util-linux after
     48      <xref linkend="ch-system-systemd"/></para>
     49    </note>
     50
    4451    <para os="a">Prepare Util-linux for compilation:</para>
    4552
    46 <screen os="b"><userinput>./configure --enable-write</userinput></screen>
     53<screen os="b"><userinput>./configure --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
    4754
    4855    <variablelist os="c">
     
    6370<screen os="e"><userinput>make</userinput></screen>
    6471
    65     <para os="dummy1">Create two <systemitem class="groupname">dummy</systemitem> groups and a <systemitem class="username">dummy</systemitem> user to be used during Util-linux and Coreutils test suites:</para>
    66 
    67 <screen os="dummy2"><userinput remap="test">echo "dummy1:x:1000:" &gt;&gt; /etc/group
    68 echo "dummy2:x:1001:dummy" &gt;&gt; /etc/group
    69 echo "dummy:x:1000:1000::/root:/bin/bash" &gt;&gt; /etc/passwd</userinput></screen>
    70 
    7172    <para os="f">To test the results, issue:</para>
    7273
    73 <screen os="f2"><userinput remap="test">chown -Rv dummy . &amp;&amp;
    74 su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
     74<screen os="f2"><userinput remap="test">chown -Rv nobody . &amp;&amp;
     75su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
    7576
    7677    <para os="g">Install the package:</para>
    7778
    7879<screen os="h"><userinput>make install</userinput></screen>
    79 
    80     <para os="i">Move the <command>logger</command> binary to
    81     <filename class="directory">/bin</filename> as it is needed by the
    82     CLFS-Bootscripts package:</para>
    83 
    84 <screen os="j"><userinput>mv -v /usr/bin/logger /bin</userinput></screen>
    8580
    8681  </sect2>
     
    109104        <seg>libblkid.[a,so], libmount.[a,so], and libuuid.[a,so]</seg>
    110105        <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
    111         /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg>
     106        /usr/share/bash-completion,
     107        /usr/share/doc/util-linux-&util-linux-version;/getopt,
     108        /var/lib/hwclock</seg>
    112109      </seglistitem>
    113110    </segmentedlist>
     
    270267          <indexterm zone="ch-system-util-linux cytune">
    271268            <primary sortas="b-cytune">cytune</primary>
    272           </indexterm>
    273         </listitem>
    274       </varlistentry>
    275 
    276       <varlistentry id="ddate">
    277         <term><command>ddate</command></term>
    278         <listitem>
    279           <para>Gives the Discordian date or converts the given Gregorian date
    280           to a Discordian one</para>
    281           <indexterm zone="ch-system-util-linux ddate">
    282             <primary sortas="b-ddate">ddate</primary>
    283269          </indexterm>
    284270        </listitem>
Note: See TracChangeset for help on using the changeset viewer.