mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Updated build entities and added indexing tags to cpio instructions
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3598 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
ac789c067e
commit
6587e9364a
@ -7,8 +7,8 @@
|
||||
<!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
|
||||
<!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
|
||||
<!ENTITY cpio-md5sum "76b4145f33df088a5bade3bf4373d17d">
|
||||
<!ENTITY cpio-size "448 KB">
|
||||
<!ENTITY cpio-buildsize "5.4 MB">
|
||||
<!ENTITY cpio-size "561 KB">
|
||||
<!ENTITY cpio-buildsize "5.3 MB">
|
||||
<!ENTITY cpio-time "0.12 SBU">
|
||||
]>
|
||||
|
||||
@ -19,6 +19,8 @@
|
||||
</sect1info>
|
||||
<?dbhtml filename="cpio.html"?>
|
||||
<title>cpio-&cpio-version;</title>
|
||||
<indexterm zone="cpio">
|
||||
<primary sortas="a-Cpio">Cpio</primary></indexterm>
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to <application>cpio</application></title>
|
||||
@ -45,15 +47,18 @@ url="&cpio-download-ftp;"/></para></listitem>
|
||||
<sect2>
|
||||
<title>Installation of <application>cpio</application></title>
|
||||
|
||||
<para>Install <application>cpio</application> by running the following commands:
|
||||
</para>
|
||||
<para>Install <application>cpio</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput><command>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c &&
|
||||
./configure CPIO_MT_PROG=mt --prefix=/usr \
|
||||
--bindir=/bin --libexecdir=/tmp \
|
||||
--with-rmt=/usr/sbin/rmt &&
|
||||
make &&
|
||||
make install</command></userinput></screen>
|
||||
make</command></userinput></screen>
|
||||
|
||||
<para>Now, as the root user:</para>
|
||||
|
||||
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -68,7 +73,7 @@ building and installation of the <command>mt</command> program.</para>
|
||||
|
||||
<para><parameter>--bindir=/bin</parameter>: This parameter installs
|
||||
<command>cpio</command> to <filename class="directory">/bin</filename> instead
|
||||
of <filename class="directory">/usr/bin</filename> as per
|
||||
of <filename class="directory">/usr/bin</filename> as recommended by the
|
||||
<acronym>FHS</acronym> guidelines.</para>
|
||||
|
||||
<para><parameter>--libexecdir=/tmp</parameter>: This parameter is used so
|
||||
@ -83,19 +88,38 @@ building the <command>rmt</command> program as it is already installed by the
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The <application>cpio</application> package contains
|
||||
<command>cpio</command> and <command>mt</command>.</para>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
</sect2>
|
||||
<seglistitem>
|
||||
<seg>cpio and mt</seg>
|
||||
<seg>None</seg>
|
||||
<seg>None</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
|
||||
<sect3><title>cpio</title>
|
||||
<para><command>cpio</command> copies files to and from archives.</para></sect3>
|
||||
<varlistentry id="cpio-prog">
|
||||
<term><command>cpio</command></term>
|
||||
<listitem><para>copies files to and from archives.</para>
|
||||
<indexterm zone="cpio cpio-prog">
|
||||
<primary sortas="b-cpio">cpio</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect3><title>mt</title>
|
||||
<para><command>mt</command> controls magnetic tape drive
|
||||
operations.</para></sect3>
|
||||
<varlistentry id="mt">
|
||||
<term><command>mt</command></term>
|
||||
<listitem><para>controls magnetic tape drive operations.</para>
|
||||
<indexterm zone="cpio mt">
|
||||
<primary sortas="b-mt">mt</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user