Ignore:
File:
1 edited

Legend:

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

    rd1f79ab r1c57432  
    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 
    5144    <para os="a">Prepare Util-linux for compilation:</para>
    5245
    53 <screen os="b"><userinput>./configure --enable-write --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
     46<screen os="b"><userinput>./configure --enable-write</userinput></screen>
    5447
    5548    <variablelist os="c">
     
    7063<screen os="e"><userinput>make</userinput></screen>
    7164
     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
     68echo "dummy2:x:1001:dummy" &gt;&gt; /etc/group
     69echo "dummy:x:1000:1000::/root:/bin/bash" &gt;&gt; /etc/passwd</userinput></screen>
     70
    7271    <para os="f">To test the results, issue:</para>
    7372
    74 <screen os="f2"><userinput remap="test">chown -Rv nobody . &amp;&amp;
    75 su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
     73<screen os="f2"><userinput remap="test">chown -Rv dummy . &amp;&amp;
     74su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>
    7675
    7776    <para os="g">Install the package:</para>
    7877
    7978<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>
    8085
    8186  </sect2>
     
    104109        <seg>libblkid.[a,so], libmount.[a,so], and libuuid.[a,so]</seg>
    105110        <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
    106         /usr/share/bash-completion,
    107         /usr/share/doc/util-linux-&util-linux-version;/getopt,
    108         /var/lib/hwclock</seg>
     111        /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg>
    109112      </seglistitem>
    110113    </segmentedlist>
     
    267270          <indexterm zone="ch-system-util-linux cytune">
    268271            <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>
    269283          </indexterm>
    270284        </listitem>
Note: See TracChangeset for help on using the changeset viewer.