mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Add 8.23 - Build acl
This commit is contained in:
parent
8f71d6c33b
commit
1fc4fdf399
2 changed files with 39 additions and 0 deletions
27
scripts/chapter8/8.23-acl.sh
Normal file
27
scripts/chapter8/8.23-acl.sh
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
tar xf acl-2.3.1.tar.xz
|
||||||
|
cd acl-2.3.1
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--disable-static \
|
||||||
|
--docdir=/usr/share/doc/acl-2.3.1
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make -j5
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make install
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
rm -rf acl-2.3.1
|
||||||
|
|
|
@ -810,3 +810,15 @@ then
|
||||||
stop_script "chapter8/8.22-attr.sh"
|
stop_script "chapter8/8.22-attr.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Chapter 8.23
|
||||||
|
# ============
|
||||||
|
echo "Building acl"
|
||||||
|
su -c "bash $SCRIPT/chapter8/8.23-acl.sh"
|
||||||
|
|
||||||
|
# Exit on error
|
||||||
|
check_exit_code
|
||||||
|
if [ $exit_status -ne 0 ]
|
||||||
|
then
|
||||||
|
stop_script "chapter8/8.23-acl.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue