Add 8.62 - Build iproute2

This commit is contained in:
Aditya 2023-01-12 19:12:28 +05:30
parent afe1081189
commit b3d850e365
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,23 @@
#!/bin/bash
cd /sources
tar xf iproute2-5.19.0.tar.xz
cd iproute2-5.19.0
sed -i /ARPD/d Makefile
rm -fv man/man8/arpd.8
make NETNS_RUN_DIR=/run/netns
if [ $? -ne 0 ]
then
exit 1
fi
make SBINDIR=/usr/sbin install
mkdir -pv /usr/share/doc/iproute2-5.19.0
cp -v COPYING README* /usr/share/doc/iproute2-5.19.0
cd /sources
rm -rf iproute2-5.19.0

View file

@ -1282,3 +1282,15 @@ then
stop_script "chapte8/8.61-gzip.sh"
fi
# Chapter 8.62
# ============
echo "Building iproute2"
su -c "bash $SCRIPT/chapte8/8.62-iproute2.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapte8/8.62-iproute2.sh"
fi