Details on this package are located in Section 10.52.2, “Contents of E2fsprogs.”
The E2fsprogs package contains the utilities for handling the
ext2
file system. It also supports
the ext3
and ext4
journaling file systems.
Make sure the libraries get installed to /tools/lib64
:
cp -v configure{,.orig} sed -e "/libdir=.*\/lib/s@/lib@/lib64@g" configure.orig > configure
The E2fsprogs documentation recommends that the package be built in a subdirectory of the source tree:
mkdir -v build cd build
Prepare E2fsprogs for compilation:
../configure --prefix=/tools --enable-elf-shlibs \ --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --disable-libblkid --disable-libuuid --disable-fsck \ --disable-uuidd
The meaning of the configure options:
--enable-elf-shlibs
This creates the shared libraries which some programs in this package use.
--disable-*
This prevents E2fsprogs from building and installing the
libuuid
and libblkid
libraries, the uuidd
daemon, and the fsck wrapper, as Util-Linux
installed all of them earlier.
Compile the package:
make
Install the binaries, documentation and shared libraries:
make install
Install the static libraries and headers:
make install-libs
Details on this package are located in Section 10.52.2, “Contents of E2fsprogs.”