lfs-scripts/scripts/chapter8/8.62-iproute2.sh
2023-01-12 19:12:28 +05:30

23 lines
362 B
Bash

#!/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