Details on this package are located in Section 10.22.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.
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:
CC="${CC} ${BUILD64}" PKG_CONFIG=true \
../configure --prefix=/tools --enable-elf-shlibs \
--build=${CLFS_HOST} --host=${CLFS_TARGET} \
--disable-libblkid --disable-libuuid --disable-fsck \
--disable-uuiddThe meaning of the configure options:
--enable-elf-shlibsThis creates the shared libraries which some programs in this package use.
Compile the package:
make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid"Install the binaries, documentation and shared libraries:
make install
Install the static libraries and headers:
make install-libs
Create needed symlinks for a bootable system:
ln -sv /tools/sbin/{fsck.ext2,fsck.ext3,fsck.ext4,e2fsck} ${CLFS}/sbinDetails on this package are located in Section 10.22.2, “Contents of E2fsprogs.”