aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/e2fsprogs.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-12 12:49:29 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-12 12:49:29 -0500
commit99659c30e5369c3f02e286a4a6ec6fecd77f0416 (patch)
tree12110b15571365acae602ebd9c1348463a0d4710 /chapter8/e2fsprogs.sh
parent0e5288f8f3bee7276d561cde029ed492e2ea85e6 (diff)
parent13c6afd35cab1e3f4d96857d549e02cfd1e23acd (diff)
Merge branch 'chapter8'
Diffstat (limited to 'chapter8/e2fsprogs.sh')
-rw-r--r--chapter8/e2fsprogs.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/chapter8/e2fsprogs.sh b/chapter8/e2fsprogs.sh
new file mode 100644
index 0000000..b872707
--- /dev/null
+++ b/chapter8/e2fsprogs.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+mkdir -v build
+cd build || exit 1
+
+../configure --prefix=/usr \
+ --bindir=/bin \
+ --with-root-prefix="" \
+ --enable-elf-shlibs \
+ --disable-libblkid \
+ --disable-libuuid \
+ --disable-uuidd \
+ --disable-fsck
+
+make
+
+make -j1 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