The cpio package contains tools for archiving.
Download (HTTP): http://ftp.gnu.org/pub/gnu/cpio/cpio-2.6.tar.gz
Download (FTP): ftp://ftp.gnu.org/pub/gnu/cpio/cpio-2.6.tar.gz
Download MD5 sum: 76b4145f33df088a5bade3bf4373d17d
Download size: 448 KB
Estimated disk space required: 5.4 MB
Estimated build time: 0.12 SBU
Install cpio by running the following commands:
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
sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c: This command fixes a build problem in the mt program.
CPIO_MT_PROG=mt: This parameter forces the building and installation of the mt program.
--bindir=/bin: This parameter installs cpio to /bin instead of /usr/bin as per FHS guidelines.
--libexecdir=/tmp: This parameter is used so that /usr/libexec is not created.
--with-rmt=/usr/sbin/rmt: This parameter inhibits building the rmt program as it is already installed by the tar package in LFS.
The cpio package contains cpio and mt.
Last updated on 2005-02-07 19:34:15 -0700