Converted util-linux to new layout.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2331 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Timothy Bauscher 2003-01-15 08:25:32 +00:00
parent fae04ae33e
commit 6293eb6f33
5 changed files with 44 additions and 8 deletions

View File

@ -1,3 +1,5 @@
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Util-linux Installation Dependencies</title>

View File

@ -0,0 +1,21 @@
<sect2><title>Contents of Util-linux</title>
<para>Last checked against version &util-linux-contversion;.</para>
<para>The Util-linux package contains a number of miscellaneous
utility programs. Some of the more prominent utilities are used
to mount, unmount, format, partition and manage disk drives,
open tty ports and fetch kernel messages.</para>
<sect3><title>Program Files</title>
<para>agetty, arch, blockdev, cal, cfdisk, chkdupexe, col, colcrt,
colrm, column, ctrlaltdel, cytune, ddate, dmesg, elvtune, fdformat, fdisk,
fsck.cramfs, fsck.minix, getopt, hexdump, hwclock, ipcrm, ipcs, isosize, line, logger,
look, losetup, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, mount,
namei, parse.bash, parse.tcsh, pg, pivot_root, ramsize (link to rdev),
raw, rdev, readprofile, rename, renice, rev, rootflags (link to rdev),
script, setfdprm, setsid, setterm, sfdisk, swapoff (link to swapon), swapon,
test.bash, test.tcsh, tunelp, ul, umount, vidmode (link to rdev), whereis
and write</para></sect3>
</sect2>

View File

@ -1,15 +1,26 @@
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Util-linux</title>
<para>We only need the mount and umount programs at the moment, so we won't
be compiling the entire package.</para>
<para>Prepare Util-linux to be compiled:</para>
<para>Install Util-linux by running the following commands:</para>
<para><screen><userinput>LDFLAGS="-static" ./configure</userinput></screen></para>
<para><screen><userinput>LDFLAGS="-static" ./configure &amp;&amp;
make -C lib &amp;&amp;
make -C mount mount umount &amp;&amp;
cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para>
<para>Begin compiling the package:</para>
<para><screen><userinput>make -C lib</userinput></screen></para>
<para>We only need the <emphasis>mount</emphasis> and
<emphasis>umount</emphasis> programs at the moment, so we won't be
compiling the entire package. Compile these two programs by issuing
the following command:</para>
<para><screen><userinput>make -C mount mount umount</userinput></screen></para>
<para>Finish installing these two programs:</para>
<para><screen><userinput>cp mount/{mount,umount} $LFS/static/bin</userinput></screen></para>
</sect2>

View File

@ -5,7 +5,8 @@
<screen>Estimated build time: &util-linux-time-static;
Estimated required disk space: &util-linux-compsize-static;</screen>
&c5-utillinux-inst;
&aa-utillinux-shortdesc;
&aa-utillinux-dep;
&c5-utillinux-inst;
</sect1>

View File

@ -11,6 +11,7 @@
<!ENTITY aa-utillinux-desc SYSTEM "../appendixa/utillinux-desc.xml">
<!ENTITY aa-utillinux-dep SYSTEM "../appendixa/utillinux-dep.xml">
<!ENTITY aa-utillinux-down SYSTEM "../appendixa/utillinux-down.xml">
<!ENTITY aa-utillinux-shortdesc SYSTEM "../appendixa/utillinux-shortdesc.xml">
<!ENTITY util-linux-version "2.11y">
<!ENTITY util-linux-depversion "2.11n">