mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-12-22 15:22:56 +00:00
Add 8.74 - Build e2fsprogs
This commit is contained in:
parent
6d38b137a9
commit
94d62870a3
2 changed files with 56 additions and 0 deletions
44
scripts/chapter8/8.74-e2fsprogs.sh
Normal file
44
scripts/chapter8/8.74-e2fsprogs.sh
Normal file
|
@ -0,0 +1,44 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /sources
|
||||
tar xf e2fsprogs-1.46.5.tar.gz
|
||||
cd e2fsprogs-1.46.5
|
||||
|
||||
mkdir -v build
|
||||
cd build
|
||||
|
||||
../configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--enable-elf-shlibs \
|
||||
--disable-libblkid \
|
||||
--disable-libuuid \
|
||||
--disable-uuidd \
|
||||
--disable-fsck
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make -j5
|
||||
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make check
|
||||
|
||||
make install
|
||||
|
||||
rm -fv /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a
|
||||
|
||||
gunzip -v /usr/share/info/libext2fs.info.gz
|
||||
install-info --dir-file=/usr/share/info/dir /usr/share/info/libext2fs.info
|
||||
|
||||
makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo
|
||||
install -v -m644 doc/com_err.info /usr/share/info
|
||||
install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info
|
||||
|
||||
cd /sources
|
||||
rm -rf e2fsprogs-1.46.5
|
|
@ -1426,3 +1426,15 @@ then
|
|||
stop_script "chapter8/8.73-util-linux.sh"
|
||||
fi
|
||||
|
||||
# Chapter 8.74
|
||||
# ============
|
||||
echo "Building e2fsprogs"
|
||||
su -c "bash $SCRIPT/chapter8/8.74-e2fsprogs.sh"
|
||||
|
||||
# Exit on error
|
||||
check_exit_code
|
||||
if [ $exit_status -ne 0 ]
|
||||
then
|
||||
stop_script "chapter8/8.74-e2fsprogs.sh"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue