Add 8.22 - Build attr

This commit is contained in:
Aditya 2023-01-11 11:41:03 +05:30
parent 5ec63bbd7d
commit 8f71d6c33b
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#!/bin/bash
cd /sources
tar xf attr-2.5.1.tar.gz
cd attr-2.5.1
./configure --prefix=/usr \
--disable-static \
--sysconfdir=/etc \
--docdir=/usr/share/doc/attr-2.5.1
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf attr-2.5.1

View file

@ -798,3 +798,15 @@ then
stop_script "chapter8/8.21-mpc.sh" stop_script "chapter8/8.21-mpc.sh"
fi fi
# Chapter 8.22
# ============
echo "Building attr"
su -c "bash $SCRIPT/chapter8/8.22-attr.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.22-attr.sh"
fi