++build script for jool
This commit is contained in:
parent
73d7b6e0e3
commit
fb011ca9a7
1 changed files with 21 additions and 0 deletions
21
jool-get-build-install.sh
Normal file
21
jool-get-build-install.sh
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# 2019-11-05, Nico Schottelius
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
version=4.0.6
|
||||||
|
|
||||||
|
wget -c https://github.com/NICMx/Jool/releases/download/v${version}/jool-${version}.tar.gz
|
||||||
|
tar xfz jool-${version}.tar.gz
|
||||||
|
|
||||||
|
# 1. kernel module
|
||||||
|
dkms install jool-${version}
|
||||||
|
|
||||||
|
# 2. user space
|
||||||
|
cd jool-${version}
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
|
||||||
|
# add openrc script for alpine
|
Loading…
Reference in a new issue