The cpio package contains tools for archiving.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://ftp.gnu.org/gnu/cpio/cpio-2.14.tar.bz2
Download MD5 sum: b153e1843561841d37190e48b891188d
Download size: 1.5 MB
Estimated disk space required: 19 MB (with tests and docs)
Estimated build time: 0.2 SBU (with tests and docs)
Install cpio by running the following commands:
./configure --prefix=/usr \ --enable-mt \ --with-rmt=/usr/libexec/rmt && make && makeinfo --html -o doc/html doc/cpio.texi && makeinfo --html --no-split -o doc/cpio.html doc/cpio.texi && makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi
If you have texlive-20230313 installed and wish to create PDF or Postscript documentation, issue one or both of the following commands:
make -C doc pdf && make -C doc ps
To test the results, issue: make check.
Now, as the root
user:
make install && install -v -m755 -d /usr/share/doc/cpio-2.14/html && install -v -m644 doc/html/* \ /usr/share/doc/cpio-2.14/html && install -v -m644 doc/cpio.{html,txt} \ /usr/share/doc/cpio-2.14
If you built PDF or Postscript documentation, install it
by issuing the following commands as the
root
user:
install -v -m644 doc/cpio.{pdf,ps,dvi} \ /usr/share/doc/cpio-2.14
--enable-mt
: This parameter forces the
building and installation of the mt program.
--with-rmt=/usr/libexec/rmt
: This parameter
inhibits building the rmt program as it is already
installed by the Tar package in LFS.