mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
23 lines
362 B
Bash
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
|