- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/util-linux.xml
rd1f79ab r1c57432 42 42 <title>Installation of Util-linux</title> 43 43 44 <note os="n">45 <para><command>findmnt</command>, and <command>lsblk</command> can46 utilize <filename class="libraryfile">libudev</filename> for WWN and serial47 number information. If this is desired, rebuild Util-linux after48 <xref linkend="ch-system-systemd"/></para>49 </note>50 51 44 <para os="a">Prepare Util-linux for compilation:</para> 52 45 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> 54 47 55 48 <variablelist os="c"> … … 70 63 <screen os="e"><userinput>make</userinput></screen> 71 64 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:" >> /etc/group 68 echo "dummy2:x:1001:dummy" >> /etc/group 69 echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></screen> 70 72 71 <para os="f">To test the results, issue:</para> 73 72 74 <screen os="f2"><userinput remap="test">chown -Rv nobody . &&75 su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>73 <screen os="f2"><userinput remap="test">chown -Rv dummy . && 74 su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen> 76 75 77 76 <para os="g">Install the package:</para> 78 77 79 78 <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> 80 85 81 86 </sect2> … … 104 109 <seg>libblkid.[a,so], libmount.[a,so], and libuuid.[a,so]</seg> 105 110 <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> 109 112 </seglistitem> 110 113 </segmentedlist> … … 267 270 <indexterm zone="ch-system-util-linux cytune"> 268 271 <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> 269 283 </indexterm> 270 284 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.