- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/util-linux.xml
r1c57432 rd1f79ab 42 42 <title>Installation of Util-linux</title> 43 43 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 44 51 <para os="a">Prepare Util-linux for compilation:</para> 45 52 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> 47 54 48 55 <variablelist os="c"> … … 63 70 <screen os="e"><userinput>make</userinput></screen> 64 71 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/group68 echo "dummy2:x:1001:dummy" >> /etc/group69 echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></screen>70 71 72 <para os="f">To test the results, issue:</para> 72 73 73 <screen os="f2"><userinput remap="test">chown -Rv dummy . &&74 su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen>74 <screen os="f2"><userinput remap="test">chown -Rv nobody . && 75 su nobody -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen> 75 76 76 77 <para os="g">Install the package:</para> 77 78 78 79 <screen os="h"><userinput>make install</userinput></screen> 79 80 <para os="i">Move the <command>logger</command> binary to81 <filename class="directory">/bin</filename> as it is needed by the82 CLFS-Bootscripts package:</para>83 84 <screen os="j"><userinput>mv -v /usr/bin/logger /bin</userinput></screen>85 80 86 81 </sect2> … … 109 104 <seg>libblkid.[a,so], libmount.[a,so], and libuuid.[a,so]</seg> 110 105 <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> 112 109 </seglistitem> 113 110 </segmentedlist> … … 270 267 <indexterm zone="ch-system-util-linux cytune"> 271 268 <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 date280 to a Discordian one</para>281 <indexterm zone="ch-system-util-linux ddate">282 <primary sortas="b-ddate">ddate</primary>283 269 </indexterm> 284 270 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.